Commit 3a5773ce authored by Matija Čupić's avatar Matija Čupić

Accept variable params in create_params

parent 2cc78c0b
...@@ -157,7 +157,7 @@ class Projects::PipelinesController < Projects::ApplicationController ...@@ -157,7 +157,7 @@ class Projects::PipelinesController < Projects::ApplicationController
end end
def create_params def create_params
params.require(:pipeline).permit(:ref) params.require(:pipeline).permit(:ref, variables_attributes: %i[key secret_value])
end end
def pipeline def pipeline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment