about summary refs log tree commit diff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 19:21:27 +0200
committerGitHub <noreply@github.com>2018-07-16 19:21:27 +0200
commit0d13e30ad2579a9fc55f1b57c80cf9a9a89b1491 (patch)
tree9635d4f3d0c7af3b28e71476d6f61e5f248e8b32 /app/controllers/admin
parent7e2678f7f66fbdb215b89378e2a1b7d9e3901fc0 (diff)
Display trending hashtags on admin dashboard (#8038)
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/dashboard_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index af1ac7b5e..7be753c9b 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -27,6 +27,7 @@ module Admin
       @saml_enabled          = ENV['SAML_ENABLED'] == 'true'
       @pam_enabled           = ENV['PAM_ENABLED'] == 'true'
       @hidden_service        = ENV['ALLOW_ACCESS_TO_HIDDEN_SERVICE'] == 'true'
+      @trending_hashtags     = TrendingTags.get(7)
     end
 
     private