app/views/tenon/shared/_main_nav.html.haml in tenon-1.0.14 vs app/views/tenon/shared/_main_nav.html.haml in tenon-1.0.15
- old
+ new
@@ -3,10 +3,10 @@
%ul
= nav_item 'Home', root_path, 'dashboard'
= nav_item 'Asset Library', assets_path, 'picture-o'
= nav_item 'Comments', comments_path, 'comment'
= nav_item 'Pages', pages_path, 'file'
- = nav_item 'Posts', posts_path, 'file-text'
+ = nav_item 'Posts', posts_path, 'file-text', active: ['post_categories'].include?(controller_name)
= nav_item 'Users', users_path, 'user'
= nav_item 'Events', events_path, 'calendar'
= nav_item 'Galleries', galleries_path, 'th'
= nav_item 'Contacts', contacts_path, 'envelope'
= nav_item 'Settings', settings_path, 'gear'
\ No newline at end of file