diff --git a/app/assets/javascripts/discourse/helpers/raw.js.es6 b/app/assets/javascripts/discourse/helpers/raw.js.es6 index fc4cb44edee..c420c76bdd8 100644 --- a/app/assets/javascripts/discourse/helpers/raw.js.es6 +++ b/app/assets/javascripts/discourse/helpers/raw.js.es6 @@ -1,12 +1,17 @@ import registerUnbound from 'discourse/helpers/register-unbound'; +// see: https://github.com/emberjs/ember.js/issues/12634 +var missingViews = {}; + function renderRaw(ctx, template, templateName, params) { params.parent = params.parent || ctx; - if (!params.view) { + if (!params.view && !missingViews[templateName]) { var viewClass = Discourse.__container__.lookupFactory('view:' + templateName); if (viewClass) { params.view = viewClass.create(params); + } else { + missingViews[templateName] = true; } }