Commit cb73a9f2 authored by Matija Čupić's avatar Matija Čupić

Accept variable params in create_params

parent 7d869c8b
......@@ -159,7 +159,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
......
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