diff --git a/app/assets/javascripts/discourse/lib/show-modal.js.es6 b/app/assets/javascripts/discourse/lib/show-modal.js.es6 index e34d7398ef0..7a3808c266a 100644 --- a/app/assets/javascripts/discourse/lib/show-modal.js.es6 +++ b/app/assets/javascripts/discourse/lib/show-modal.js.es6 @@ -18,7 +18,7 @@ export default function(name, opts) { } else { const templateName = opts.templateName || Ember.String.dasherize(name); - const renderArgs = { into: 'modal', outlet: 'modalBody'}; + const renderArgs = { into: 'modal', outlet: 'modalBody', view: 'modal-body'}; if (controller) { renderArgs.controller = controllerName; } const modalName = `modal/${templateName}`; @@ -38,4 +38,4 @@ export default function(name, opts) { } return controller; -}; +}; \ No newline at end of file