This commit is contained in:
2025-11-07 13:34:32 -08:00
commit 1e8c5a972b
436 changed files with 11000 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
class Accounts::CustomStylesController < ApplicationController
before_action :ensure_can_administer, :set_account
def edit
end
def update
@account.update!(account_params)
redirect_to edit_account_custom_styles_url
end
private
def set_account
@account = Current.account
end
def account_params
params.require(:account).permit(:custom_styles)
end
end