mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
FIX: buildPluginAdapter not passing args
This commit is contained in:
parent
cf3aa867ab
commit
3a8808ee3f
|
@ -2,8 +2,8 @@ import RestAdapter from 'discourse/adapters/rest';
|
|||
|
||||
export default function buildPluginAdapter(pluginName) {
|
||||
return RestAdapter.extend({
|
||||
pathFor(store, type) {
|
||||
return "/admin/plugins/" + pluginName + this._super(store, type);
|
||||
pathFor(store, type, findArgs) {
|
||||
return "/admin/plugins/" + pluginName + this._super(store, type, findArgs);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user