This has been very confusing for me since I started using ember js.
I am using ember js 2.11 (as shown in my package.json "ember-cli": "2.11.1")
I was trying to emit onClick action from my component to route and i got the error "An action named 'getDetails' was not found in generated controller" even when i had action named getDetails in my route.
I have read that with ember 2.0+ controller has been deprecated and route is made for the same purpose.
Please clarify.
action-helperthen it will look for the action within corresponding controller. if you want the actions to be handled by route, you need to use route-action-helper. Controllers were to be removed from Ember, at least this was the intend for some time; see guide for 2.2.0; however this has changed. Controllers will remain and they are not deprecated. You can use both controllers and routes. Hope someone will explain more about differences. - feanor07