diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-04-18 15:18:27 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-04-18 15:18:27 +0300 |
commit | 3a5773ce07f2f2bdc4f4473b62a2ccdc15c07d92 (patch) | |
tree | 4fac3e170f18b4526c7d0bdfa0ac415175ee00aa /app/controllers/projects/pipelines_controller.rb | |
parent | 2cc78c0b03d9468e25bbf4805fe1d55e414840ff (diff) |
Accept variable params in create_params
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r-- | app/controllers/projects/pipelines_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb index 78d109cf33e..1ee273091d4 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -157,7 +157,7 @@ class Projects::PipelinesController < Projects::ApplicationController end def create_params - params.require(:pipeline).permit(:ref) + params.require(:pipeline).permit(:ref, variables_attributes: %i[key secret_value]) end def pipeline |