summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
authorgleb <glex.spb@gmail.com>2012-06-29 13:44:55 +0200
committergleb <glex.spb@gmail.com>2012-06-29 13:46:24 +0200
commit2da45e9cbf8bf0db88274451ba9dc61db50c571d (patch)
tree7ca8dc59d5696bf9202f74badd2b33579885e568 /app/views/layouts/admin.html.haml
parent3a4aff6934a69917b430f15201a6b1218fd51203 (diff)
downloadgitlab-ce-2da45e9cbf8bf0db88274451ba9dc61db50c571d.tar.gz
Refs #1013
Renamed protect_resque.rb => resque_authentication Integrated resque web with the rest of gitlab
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index e48903a6c06..bac3e716861 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -6,10 +6,10 @@
= render "layouts/head_panel", :title => "Admin area"
.container
%nav.main_menu
- = link_to "Stats", admin_root_path, :class => "home #{controller.controller_name == "dashboard" ? "current" : nil}"
- = link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
- = link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
- = link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
- = link_to "Resque", "/info/resque"
+ = link_to "Stats", admin_root_path, :class => "home #{'current' if controller.controller_name == "dashboard"}"
+ = link_to "Projects", admin_projects_path, :class => ('current' if controller.controller_name == "projects")
+ = link_to "Users", admin_users_path, :class => ('current' if controller.controller_name == 'users')
+ = link_to "Emails", admin_emails_path, :class => ('current' if controller.controller_name == 'mailer')
+ = link_to "Resque", admin_resque_path, :class => ('current' if controller.controller_name == 'resque')
.content= yield