From 647ac0f86abb49b97c55229b70e9c06e943adc98 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 5 Aug 2019 21:30:34 -0500 Subject: `unsuspend` -> `"unsuspend"` --- app/helpers/moderation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit