Skip to content
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

[ember-routing-bound-action-name] Quoteless actions in controller cause Uncaught Error #4335

Closed
inDream opened this issue Feb 9, 2014 · 1 comment · Fixed by #4336
Closed

Comments

@inDream
Copy link

inDream commented Feb 9, 2014

If the action is defined in controller but not controller.actions,
Uncaught Error: Nothing handled the action 'function ...' will appear.

Demo: http://jsfiddle.net/indream/Fu5uG/

This can fix by replace https://github.com/emberjs/ember.js/blob/master/packages/ember-routing/lib/helpers/action.js#L92 with
if(typeof actionName === 'undefined' || typeof actionName === 'function') {

Reference: #3936

@rwjblue
Copy link
Member

rwjblue commented Feb 9, 2014

@inDream - Thank you for reporting! Should be fixed in #4336.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants