diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2019-01-16 00:05:36 +0300 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2019-01-17 00:36:01 +0300 |
commit | 4724afa0059803b9ada7f1f888fb5595767ae7aa (patch) | |
tree | d4bb5ca244e647d2ff6afc0b58c2041077b59928 /app/services/projects/create_from_template_service.rb | |
parent | c46b8e968ba926745418738cb8855f0ca23b97cd (diff) |
Actually set raise_on_unfiltered_parameters to true
Diffstat (limited to 'app/services/projects/create_from_template_service.rb')
-rw-r--r-- | app/services/projects/create_from_template_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/create_from_template_service.rb b/app/services/projects/create_from_template_service.rb index 8306d43ca7c..678bc0d24c3 100644 --- a/app/services/projects/create_from_template_service.rb +++ b/app/services/projects/create_from_template_service.rb @@ -5,7 +5,7 @@ module Projects include Gitlab::Utils::StrongMemoize def initialize(user, params) - @current_user, @params = user, params.dup + @current_user, @params = user, params.to_h.dup end def execute |