FEATURE: filter admin reports via user group
This commit is contained in:
@@ -30,7 +30,7 @@ class ExportCsvController < ApplicationController
|
||||
@_export_params ||= begin
|
||||
params.require(:entity)
|
||||
params.require(:entity_type)
|
||||
params.permit(:entity, :entity_type, args: [:name, :start_date, :end_date, :category_id])
|
||||
params.permit(:entity, :entity_type, args: [:name, :start_date, :end_date, :category_id, :group_id])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user