navigation active class
This commit is contained in:
1 parent
7afe8d137c
commit
1e3917ada0
7 files changed
+38
-14
No files matched your search
@@ -1,4 +1,3 @@
|
||||
%ul.sub-nav
|
||||
%li= link_to 'List', list_parents_path
|
||||
%li= link_to 'New', new_parent_path
|
||||
|
||||
%li{ class: active_action('index') }= link_to 'List', list_parents_path
|
||||
%li{ class: active_action('new') }= link_to 'New', new_parent_path
|
||||
Reference in new issue
Block a user