Skip to content

Commit

Permalink
updating calls to addMenuItem and addSubMenuItem
Browse files Browse the repository at this point in the history
We can still create normal MenuItems without the 'dropdown' class.
  • Loading branch information
netusco committed May 9, 2014
1 parent 7adb7f3 commit d0268ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/modules/articles/config/articles.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
angular.module('articles').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Articles', 'articles');
Menus.addMenuItem('topbar', 'New Article', 'articles/create');
Menus.addMenuItem('topbar', 'Articles', 'articles', 'dropdown');
Menus.addSubMenuItem('topbar', 'articles', 'List Articles', 'articles');
Menus.addSubMenuItem('topbar', 'articles', 'New Article', 'articles/create');
}
]);
]);

0 comments on commit d0268ed

Please sign in to comment.