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.
Aucun commentaire:
Enregistrer un commentaire