summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-27 17:52:26 +0200
committerAzul <azul@leap.se>2014-05-27 17:52:26 +0200
commit8ca32588c969ee9eca986da8cf1de92b39ce3576 (patch)
tree80873d2b598f26e33062bc0cbdb44a81d7fe19ae /app
parentcc59ce53e52bf48d97de16d66012e8309bf98fe8 (diff)
move users key into layouts scope so it does not conflict with users scope
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml
index fbc46b3..e827f60 100644
--- a/app/views/layouts/_header.html.haml
+++ b/app/views/layouts/_header.html.haml
@@ -2,7 +2,7 @@
%ul.nav.nav-tabs
= # this navigation isn't quite right. also, we will want to active for an identity controller once it is added.
%li{:class => ("active" if controller?('users', 'overviews') || params[:user_id])}
- = link_to t(:users), users_path
+ = link_to t(".users"), users_path
%li{:class => ("active" if controller?('tickets') && !params[:user_id])}
= link_to t(".tickets", cascade: true), tickets_path
%li