mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-28 06:54:06 -04:00
Support resolving models
This commit is contained in:
parent
008dd96721
commit
e322c9a9ff
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ export default Ember.DefaultResolver.extend({
|
||||||
return this.customResolve(parsedName) || this._super(parsedName);
|
return this.customResolve(parsedName) || this._super(parsedName);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
resolveModel(parsedName) {
|
||||||
|
return this.customResolve(parsedName) || this._super(parsedName);
|
||||||
|
},
|
||||||
|
|
||||||
resolveView(parsedName) {
|
resolveView(parsedName) {
|
||||||
return this.findLoadingView(parsedName) || this.customResolve(parsedName) || this._super(parsedName);
|
return this.findLoadingView(parsedName) || this.customResolve(parsedName) || this._super(parsedName);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue