diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/report.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/report.rb b/app/models/report.rb index 356c23d68..f31bcfd2e 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -18,6 +18,9 @@ class Report < ApplicationRecord include Paginable + include RateLimitable + + rate_limit by: :account, family: :reports belongs_to :account belongs_to :target_account, class_name: 'Account' |