about summary refs log tree commit diff
path: root/app/models/appeal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/appeal.rb')
-rw-r--r--app/models/appeal.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/appeal.rb b/app/models/appeal.rb
index 1f32cfa8b..6fbf60b39 100644
--- a/app/models/appeal.rb
+++ b/app/models/appeal.rb
@@ -52,6 +52,14 @@ class Appeal < ApplicationRecord
     update!(rejected_at: Time.now.utc, rejected_by_account: current_account)
   end
 
+  def to_log_human_identifier
+    account.acct
+  end
+
+  def to_log_route_param
+    account_warning_id
+  end
+
   private
 
   def validate_time_frame