about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-05 21:30:34 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-05 21:30:34 -0500
commit647ac0f86abb49b97c55229b70e9c06e943adc98 (patch)
treeaab79f97445340767e0e100768b936bdd564e9c7
parent5e3ab78fa43f53c23de744fa99f43bd739816ecf (diff)
`unsuspend` -> `"unsuspend"`
-rw-r--r--app/helpers/moderation_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb
index 730af2603..fda553c37 100644
--- a/app/helpers/moderation_helper.rb
+++ b/app/helpers/moderation_helper.rb
@@ -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)