Last active
September 1, 2015 17:42
-
-
Save elidupuis/657182e8b86e05a05f56 to your computer and use it in GitHub Desktop.
Closure action not bubbling to Route; controller is not define...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// components/split-view/component.js | |
actions: { | |
showUserPopover() { | |
// Ember.debug('showUserPopover action from split-view'); | |
// Getting error: `An action named 'showUserPopover' was not found in (generated classes controller).` | |
// got same result using closure action instead of `sendAction` | |
this.sendAction('showUserPopover'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// need to get here to handle action properly... | |
actions: { | |
showUserPopover() { | |
Ember.debug('route showUserPopover action'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment