mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-12 05:05:16 +09:00
9 lines
214 B
Ruby
9 lines
214 B
Ruby
class Accounts::Bots::KeysController < ApplicationController
|
|
before_action :ensure_can_administer
|
|
|
|
def update
|
|
User.active_bots.find(params[:bot_id]).reset_bot_key
|
|
redirect_to account_bots_url
|
|
end
|
|
end
|