Closed demus closed 8 years ago
Command running: yo meanjs:crud-module thing
When choosing the option to "add the CRUD module links to a menu" the wrong service names are used once the CRUD module is generated.
Generated client/config/things.client.config.js result:
menuConfig.$inject = ['Menus']; function menuConfig(Menus) { Menus.addMenuItem('topbar', { title: 'Things', state: 'things', type: 'dropdown', roles: ['*'] }); // list item // create item }
'Menus' should actually be 'menuService'. Should we not use the master branch to generate the boilerplate?
closing since I just saw this was fixed by pull request #215
Command running: yo meanjs:crud-module thing
When choosing the option to "add the CRUD module links to a menu" the wrong service names are used once the CRUD module is generated.
Generated client/config/things.client.config.js result:
'Menus' should actually be 'menuService'. Should we not use the master branch to generate the boilerplate?