FIX: Login was broken on mobile

This commit is contained in:
Rafael dos Santos Silva 2016-11-19 21:13:25 -02:00
parent c86588469f
commit fe94c5f9a5
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default function(name, opts) {
} else { } else {
const templateName = opts.templateName || Ember.String.dasherize(name); 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; } if (controller) { renderArgs.controller = controllerName; }
const modalName = `modal/${templateName}`; const modalName = `modal/${templateName}`;
@ -38,4 +38,4 @@ export default function(name, opts) {
} }
return controller; return controller;
}; };