about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-15 09:26:55 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-15 09:27:43 -0500
commitcc3cf7b6061ac11c86d7c73456f33144f4ccefea (patch)
tree9d5d51a51cbfbe77952975bbe0b172c370d93d7a /app
parente2e0eddda79e982e19d66da0f5d80def35b1dd08 (diff)
`target_account.user` -> `target_account`
Diffstat (limited to 'app')
-rw-r--r--app/models/admin/account_action.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/admin/account_action.rb b/app/models/admin/account_action.rb
index 2195dc6a9..cb6b4715a 100644
--- a/app/models/admin/account_action.rb
+++ b/app/models/admin/account_action.rb
@@ -108,13 +108,13 @@ class Admin::AccountAction
 
   def handle_force_sensitive!
     authorize(target_account, :force_sensitive?)
-    log_action(:force_sensitive, target_account.user)
+    log_action(:force_sensitive, target_account)
     target_account.force_sensitive!
   end
 
   def handle_force_unlisted!
     authorize(target_account, :force_unlisted?)
-    log_action(:force_unlisted, target_account.user)
+    log_action(:force_unlisted, target_account)
     target_account.force_unlisted!
   end
 
@@ -133,7 +133,7 @@ class Admin::AccountAction
 
   def handle_mark_unknown!
     authorize(target_account, :mark_unknown?)
-    log_action(:mark_unknown, target_account.user)
+    log_action(:mark_unknown, target_account)
     target_account.mark_unknown!
   end