From 4724afa0059803b9ada7f1f888fb5595767ae7aa Mon Sep 17 00:00:00 2001 From: Jasper Maes Date: Tue, 15 Jan 2019 22:05:36 +0100 Subject: Actually set raise_on_unfiltered_parameters to true --- app/helpers/members_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index 5a21403bc5e..ab4a1ccc0d1 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -32,7 +32,7 @@ module MembersHelper end def filter_group_project_member_path(options = {}) - options = params.slice(:search, :sort).merge(options) + options = params.slice(:search, :sort).merge(options).permit! "#{request.path}?#{options.to_param}" end end -- cgit v1.2.1