Skip to content

Commit

Permalink
[BUGFIX beta] Make new outlets fastboot-compatible
Browse files Browse the repository at this point in the history
At the request of @tomdale I updated my refactored outlet implementation
to not depend on didInsertElement, so that it's usable with FastBoot™.
  • Loading branch information
ef4 committed Feb 12, 2015
1 parent d1b277a commit 46d967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-routing-views/lib/views/outlet.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export var CoreOutletView = ContainerView.extend({
return parent;
},

_linkParent: Ember.on('didInsertElement', function() {
_linkParent: Ember.on('init', 'parentViewDidChange', function() {
var parent = this._parentOutlet();
if (parent) {
parent._childOutlets.push(this);
Expand Down

0 comments on commit 46d967e

Please sign in to comment.