about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-10-10 15:03:19 +0900
committerGitHub <noreply@github.com>2022-10-10 08:03:19 +0200
commit05148e2c77ba7a2ac2cbf2569f60a64440e8a55a (patch)
treefa97d31d557c42aa6644e155b382aaa975354e66
parent3eef8a7a81512f283300d2371d5b743611cb0d27 (diff)
Fix missing `skip_review?` (#19335)
-rw-r--r--app/models/trends.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/trends.rb b/app/models/trends.rb
index 151d734f9..d07d62b71 100644
--- a/app/models/trends.rb
+++ b/app/models/trends.rb
@@ -43,7 +43,7 @@ module Trends
     Setting.trends
   end
 
-  def skip_review?
+  def self.skip_review?
     Setting.trendable_by_default
   end