diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-28 03:38:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-28 03:38:41 +0100 |
commit | 6e49907ecfc7036b6bf2dd91b9ebf4ba62d16080 (patch) | |
tree | 9539e8e60b270a4e283e9cb41d370be6116f7259 /app/controllers | |
parent | 8c5116fa2c197f61aa34e3d1f7f7a11631ec2e0a (diff) |
Improve admin UI for account view (#9643)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/accounts_controller.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/admin/accounts_controller.rb b/app/controllers/admin/accounts_controller.rb index f5e5f7ed5..562fba996 100644 --- a/app/controllers/admin/accounts_controller.rb +++ b/app/controllers/admin/accounts_controller.rb @@ -62,9 +62,8 @@ module Admin def redownload authorize @account, :redownload? - @account.reset_avatar! - @account.reset_header! - @account.save! + @account.update!(last_webfingered_at: nil) + ResolveAccountService.new.call(@account) redirect_to admin_account_path(@account.id) end |