mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-12 05:05:16 +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
|