diff options
author | masarakki <masaki182@gmail.com> | 2017-08-26 19:40:03 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-26 12:40:03 +0200 |
commit | 649a20ab46eadf9ae3bfc30782ae62379383bd72 (patch) | |
tree | f5a2f8633b8e611a55c146c92538f64c45b6618d /app/controllers/settings | |
parent | 3ac7b353f8ba74bce9e20974bcc1832930424ef2 (diff) |
authorize-follow-requests-after-unlocking (#4658)
Diffstat (limited to 'app/controllers/settings')
-rw-r--r-- | app/controllers/settings/profiles_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/profiles_controller.rb b/app/controllers/settings/profiles_controller.rb index c751c64ae..28f78a4fb 100644 --- a/app/controllers/settings/profiles_controller.rb +++ b/app/controllers/settings/profiles_controller.rb @@ -14,7 +14,7 @@ class Settings::ProfilesController < ApplicationController def show; end def update - if @account.update(account_params) + if UpdateAccountService.new.call(@account, account_params) ActivityPub::UpdateDistributionWorker.perform_async(@account.id) redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg') else |