-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some problem with lazy loaded controllers #8
Comments
Thanks, will fix soon, also welcoming a PR |
is it possibly because lazy-loaded modules are not registered in the registry? |
This is possible - the happy path is surely to switch away from this plugin and use |
@duizendnegen yeah, but only services and routes can be shared in |
I'd happily accept a PR which fixes entering lady-loaded modules in the registry. I did not spend any effort on making sure that happens so it's very much possible that the registry entry doesn't happen. If there is an open or closed issue on |
In 'dummy' app, added into controllers/about.js:
actions : { testAction : function () { console.log('test'); } }, someProp : true });
templates/about.hbs:
<h3 {{action 'testAction' on 'click'}}>About page </h3>
Got in console:
ember.debug.js:16628 Uncaught Error: Nothing handled the action 'testAction'
The text was updated successfully, but these errors were encountered: