mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-22 04:30:33 +09:00
9 lines
192 B
Ruby
9 lines
192 B
Ruby
class Accounts::JoinCodesController < ApplicationController
|
|
before_action :ensure_can_administer
|
|
|
|
def create
|
|
Current.account.reset_join_code
|
|
redirect_to edit_account_url
|
|
end
|
|
end
|