mrichard / generator-marionette

Yeoman marionette generator a la AMD
329 stars 72 forks source link

Router generation creates a Backbone.Router instead of a Backbone.Marionette.AppRouter #13

Open sometxdude opened 11 years ago

sometxdude commented 11 years ago

It seems like it would be more appropriate to create a Marionette router than an ordinary Backbone router. Just a suggestion since its easy enough to change the Backbone.Router class to Backbone.Marionette.AppRouter after the generator runs.

mrichard commented 11 years ago

Great idea. Looks like the Router generator needs to be updated a bit. I like the idea of a 1 to 1 mapping of router and controller. Perhaps an option to generate the controller at the same time as the Router.