FIX: buildPluginAdapter not passing args

This commit is contained in:
Kane York 2015-06-30 09:14:22 -07:00
parent cf3aa867ab
commit 3a8808ee3f

View File

@ -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);
} }
}); });
} }