mardi 24 février 2015

Ember-cli - Custom implementation for auto-generated controllers

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





Aucun commentaire:

Enregistrer un commentaire