-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX release] Ensure
{{render}}
sets up target properly.
When the _ENABLE_LEGACY_CONTROLLER_SUPPORT flag is disabled, the `controller` local is `undefined`. This causes the controller created by `{{render}}` to have an undefined `target` (so it swallows any actions triggered). This properly sets the `target` to `router:main` if there is no `parentController` present. (cherry picked from commit 6f01942)
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
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
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