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:
Robin Ward 2014-06-27 10:26:11 -04:00
commit c6e08deee2
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ export default function(connectionName, options) {
} else {
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);
} else if (options.fn) {