mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #3578 from riking/patch-3
FIX: buildPluginAdapter not passing args
This commit is contained in:
commit
4152bff834
@ -2,8 +2,8 @@ import RestAdapter from 'discourse/adapters/rest';
|
|||||||
|
|
||||||
export default function buildPluginAdapter(pluginName) {
|
export default function buildPluginAdapter(pluginName) {
|
||||||
return RestAdapter.extend({
|
return RestAdapter.extend({
|
||||||
pathFor(store, type) {
|
pathFor(store, type, findArgs) {
|
||||||
return "/admin/plugins/" + pluginName + this._super(store, type);
|
return "/admin/plugins/" + pluginName + this._super(store, type, findArgs);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user