sms-pager/app/views/layouts/_navigation.html.haml

8 lines
437 B
Plaintext
Raw Permalink Normal View History

2015-09-20 13:26:45 -05:00
%ul.nav
2015-10-03 22:44:36 -05:00
%li{ class: active_controller('docs') }= link_to 'Home', root_path
%li{ class: active_controller('parents') }= link_to 'Parents', list_parents_path
%li{ class: active_controller('children') }= link_to 'Children', list_children_path
2015-10-04 20:27:03 -05:00
%li{ class: active_controller('pages') }= link_to 'Pages', list_pages_path
2015-10-19 22:05:48 -05:00
- if can_edit_user? current_user
%li{ class: active_controller('users') }= link_to 'Users', list_users_path