mirror of
https://github.com/discourse/discourse.git
synced 2026-08-10 04:58:31 -05:00
Merge pull request #4434 from angusmcleod/template-resolution-order
fix order of plugin template resolution
This commit is contained in:
@@ -115,8 +115,8 @@ export default Ember.DefaultResolver.extend({
|
||||
},
|
||||
|
||||
resolveTemplate(parsedName) {
|
||||
return this.findPluginTemplate(parsedName) ||
|
||||
this.findPluginMobileTemplate(parsedName) ||
|
||||
return this.findPluginMobileTemplate(parsedName) ||
|
||||
this.findPluginTemplate(parsedName) ||
|
||||
this.findMobileTemplate(parsedName) ||
|
||||
this.findTemplate(parsedName) ||
|
||||
Ember.TEMPLATES.not_found;
|
||||
|
||||
Reference in New Issue
Block a user