Reputation: 3174
Tile says it all! How would one create a global controller which would work across an entire ember app? This way I can create actions which work across multiple views!
Thanks.
C
Upvotes: 4
Views: 970
Reputation: 5330
ApplicationController
IS that controller. It's already being anonymously created, just extend it and put what you need in it.
However, why do you want to put global actions in a controller? A better place is probably in ApplicationRoute
Upvotes: 3