Want to access controller from route in Ember? I think the method controllerFor should be available in this event:
1 2 3 4 | App.ApplicationRoute = Ember.Route.extend events: someAction: (user) -> console.log this.controllerFor("currentUser").get("name") |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.