I’ll just admit: I’m not always entirely sure where to put actions.
When I started with Ember, I put all actions in the controller. Then after reading a thread on here (*will find link), it seemed most actions were best placed in the route, particularly model actions. Maybe with state actions remaining in the controller. Maybe some actions even spread over both… …
I find some actions seem more appropriate in the controller. Especially with things moving more to components. If an action is passed to a component, then it needs to be passed via the controller, so why not write it there?
So, my question is, thinking further ahead to routable components, is this something I can look forward to not having to worry about?!