about summary refs log tree commit diff
path: root/app/models/report.rb
diff options
context:
space:
mode:
authorJantsoP <jantso.porali@gmail.com>2017-04-04 08:41:46 +0200
committerGitHub <noreply@github.com>2017-04-04 08:41:46 +0200
commitdb4a41cf58f6b15e380ff1fdbc8f392e31e4235b (patch)
treea68429f1bade4869fccc4af5bcef8afbe570e1e1 /app/models/report.rb
parentdc89fc17cc35f8e1deaffb30ae581ac453a7a9fc (diff)
parenteb023beb4975a019d6a3b3091483c91c2c837bbd (diff)
Merge branch 'master' into master
Diffstat (limited to 'app/models/report.rb')
-rw-r--r--app/models/report.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/report.rb b/app/models/report.rb
index 05dc8cff1..fd8e46aac 100644
--- a/app/models/report.rb
+++ b/app/models/report.rb
@@ -3,6 +3,7 @@
 class Report < ApplicationRecord
   belongs_to :account
   belongs_to :target_account, class_name: 'Account'
+  belongs_to :action_taken_by_account, class_name: 'Account'
 
   scope :unresolved, -> { where(action_taken: false) }
   scope :resolved,   -> { where(action_taken: true) }