Merge pull request #2449 from ligthyear/plugin-outlet-defaults

Plugin-Outlets-defaults for template overriding
This commit is contained in:
Robin Ward 2014-06-16 11:36:40 -04:00
commit 198fc3db56
1 changed files with 10 additions and 0 deletions

View File

@ -83,5 +83,15 @@ export default function(connectionName, options) {
})
});
return Ember.Handlebars.helpers.view.call(this, CustomContainerView, options);
} else {
return Ember.Handlebars.helpers.view.call(this,
Ember.View.extend({
isVirtual: true,
tagName: '',
template: function() {
return options.hash.template;
}.property()
}),
options);
}
}