For many functions (actions) is should use the Route or the Controller?

Where I should put the code of many actions, it is correct to put them in my Route?

Or I have to use the Controller?

For performances reason…

You should create a mixin.

1 Like

Only if he needs the actions in various components/pages…

Controller or route is same same… But I recommend placing them in your Router, since Ember is moving away from controllers. Not placing stuff in the controller and rather in the route will ease the upgrade process once we have routable components, if you ever get to that point with you application. :slight_smile: