Add moderation note (#5240)
* Add moderation note * Add frozen_string_literal * Make rspec pass
This commit is contained in:
@ -9,7 +9,10 @@ module Admin
|
||||
@accounts = filtered_accounts.page(params[:page])
|
||||
end
|
||||
|
||||
def show; end
|
||||
def show
|
||||
@account_moderation_note = current_account.account_moderation_notes.new(target_account: @account)
|
||||
@moderation_notes = @account.targeted_moderation_notes.latest
|
||||
end
|
||||
|
||||
def subscribe
|
||||
Pubsubhubbub::SubscribeWorker.perform_async(@account.id)
|
||||
|
Reference in New Issue
Block a user