Merge pull request #2449 from ligthyear/plugin-outlet-defaults
Plugin-Outlets-defaults for template overriding
This commit is contained in:
commit
198fc3db56
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue