Custom implementation for auto-generated controllers


#1

When using globals we could have defined App.Controller, App.ObjectController and App.ArrayController to control what class Ember will use to generate controllers.

With Ember-cli, I see documentation for routes - using app/routes/basic.js. This works fine.

Does it also work for views? What about controllers? how would I implement the ‘basic’ for each kind of controller?

Thanks


#2

Answer is here: