extend fitler_path support to 1.x api

This commit is contained in:
Spencer Alger
2015-06-02 15:31:40 -07:00
parent 2b0d30cefb
commit 06205f313e
2 changed files with 11 additions and 2 deletions

View File

@ -179,7 +179,7 @@ module.exports = [
}
},
{
version: '>=2.0.0',
version: '>=1.6.0',
/* jshint ignore:start */

View File

@ -1,6 +1,15 @@
/* jshint maxlen: false */
var ca = require('../client_action').factory;
var ca = require('../client_action').makeFactoryWithModifier(function (spec) {
return require('../utils').merge(spec, {
params: {
filterPath: {
type: 'list',
name: 'filter_path'
}
}
});
});
var namespace = require('../client_action').namespaceFactory;
var api = module.exports = {};