summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--app/views/layouts/admin.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 7a9f0e9d494..51569b0635e 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -110,7 +110,7 @@ module ApplicationHelper
when :admin_root; controller.controller_name == "dashboard"
when :admin_users; controller.controller_name == 'users'
when :admin_projects; controller.controller_name == "projects"
- when :admin_emails; controller.controller_name == 'mailer'
+ when :admin_hooks; controller.controller_name == 'hooks'
when :admin_resque; controller.controller_name == 'resque'
when :admin_logs; controller.controller_name == 'logs'
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index fa4ec6c938e..6af0f641fc4 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -14,7 +14,7 @@
= link_to "Users", admin_users_path
%li{class: tab_class(:admin_logs)}
= link_to "Logs", admin_logs_path
- %li{class: tab_class(:admin_emails)}
+ %li{class: tab_class(:admin_hooks)}
= link_to "Hooks", admin_hooks_path
%li{class: tab_class(:admin_resque)}
= link_to "Resque", admin_resque_path