So I have a toolbar in my application template:
Application.hbs:
Which fires a toolbarButtonClicked
action whenever a toolbar button is pressed. For now, I can handle this action from my application controller.
I would like to handle the action in my route controllers (since the buttons have actions specific to routes), however the route controller doesn't receive them since the toolbar is not in the route template.
Is there a way to call a route controller from the application controller, or from a component which is outside the route ?
Aucun commentaire:
Enregistrer un commentaire