summaryrefslogtreecommitdiff
path: root/app/views/layouts/_admin_navigation_item.html.haml
blob: 8dd8a39511454c9b9677e7d432de0456bb7b88e1 (plain)
1
2
3
- item = admin_navigation_item.to_s
%li{:class => ("active" if controller?(item))}
  = link_to t(".#{item}", cascade: true), path_for(item)