diff options
author | Martin Bastien <martin.bastien@studiofrenetic.com> | 2012-08-15 00:03:13 -0400 |
---|---|---|
committer | Martin Bastien <martin.bastien@studiofrenetic.com> | 2012-08-15 00:03:13 -0400 |
commit | 6641761e5cdde2ae7515a97691ecbafb996fdf4c (patch) | |
tree | 148cffe17042614408192ff8e2761f55efebdb2c | |
parent | 0456dd72e26aaba6455e851260426d0156ba159a (diff) | |
download | gitlab-ce-6641761e5cdde2ae7515a97691ecbafb996fdf4c.tar.gz |
Fix current class for hooks tab in admin section
Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/layouts/admin.html.haml | 2 |
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 |