mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-24 13:03:35 -04:00
Merge pull request #3578 from riking/patch-3
FIX: buildPluginAdapter not passing args
This commit is contained in:
commit
4152bff834
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue