diff options
Diffstat (limited to 'app/views/common/_navigation_item.html.haml')
-rw-r--r-- | app/views/common/_navigation_item.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/common/_navigation_item.html.haml b/app/views/common/_navigation_item.html.haml new file mode 100644 index 0000000..02c54c8 --- /dev/null +++ b/app/views/common/_navigation_item.html.haml @@ -0,0 +1,3 @@ +- item = navigation_item.to_s +%li{:class => ("active" if controller?(item))} + = link_to t(".#{item}", cascade: true), polymorphic_url(item) |