mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 18:24:56 +08:00
fix order of plugin template resolution
This commit is contained in:
parent
d2e1fccc90
commit
422941a606
|
@ -115,8 +115,8 @@ export default Ember.DefaultResolver.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
resolveTemplate(parsedName) {
|
resolveTemplate(parsedName) {
|
||||||
return this.findPluginTemplate(parsedName) ||
|
return this.findPluginMobileTemplate(parsedName) ||
|
||||||
this.findPluginMobileTemplate(parsedName) ||
|
this.findPluginTemplate(parsedName) ||
|
||||||
this.findMobileTemplate(parsedName) ||
|
this.findMobileTemplate(parsedName) ||
|
||||||
this.findTemplate(parsedName) ||
|
this.findTemplate(parsedName) ||
|
||||||
Ember.TEMPLATES.not_found;
|
Ember.TEMPLATES.not_found;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user