Improve admin UI for account view (#9643)
This commit is contained in:
parent
8c5116fa2c
commit
6e49907ecf
49 changed files with 201 additions and 248 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue