Merge pull request #2477 from ligthyear/fix-outlet-double-render
Fix Plugin-Outlets: remove block from views so Ember doesn't complain
This commit is contained in:
commit
c6e08deee2
|
@ -103,6 +103,7 @@ export default function(connectionName, options) {
|
||||||
} else {
|
} else {
|
||||||
view = childViews[0];
|
view = childViews[0];
|
||||||
}
|
}
|
||||||
|
delete options.fn; // we don't need the default template since we have a connector
|
||||||
return Ember.Handlebars.helpers.view.call(this, view, options);
|
return Ember.Handlebars.helpers.view.call(this, view, options);
|
||||||
} else if (options.fn) {
|
} else if (options.fn) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue