`unsuspend` -> `"unsuspend"`

staging
multiple creatures 2019-08-05 21:30:34 -05:00
parent 5e3ab78fa4
commit 647ac0f86a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module ModerationHelper
return false if acct.nil?
if policy == 'reset'
Admin::ActionLog.create(account: @account, action: unsuspend, target: acct)
Admin::ActionLog.create(account: @account, action: 'unsuspend', target: acct)
user_friendly_action_log(@account, :unsuspend, acct, reason)
else
Admin::ActionLog.create(account: @account, action: policy, target: acct)