The goals is to reduce when use filter resource function:
Project.filter_resource(params.slice(*Project.filter_scopes)
Most of the time the filter resource argument is params.slice(*Project.filter_scopes), we can setup the default value of filter resource to that
The goals is to reduce when use filter resource function:
Project.filter_resource(params.slice(*Project.filter_scopes)Most of the time the filter resource argument is
params.slice(*Project.filter_scopes), we can setup the default value of filter resource to that