0
0
Fork 0

Improve admin UI for account view (#9643)

This commit is contained in:
Eugen Rochko 2018-12-28 03:38:41 +01:00 committed by GitHub
parent 8c5116fa2c
commit 6e49907ecf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 201 additions and 248 deletions

View file

@ -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