Skip to content
Snippets Groups Projects
Verified Commit 3a5773ce authored by Matija Čupić's avatar Matija Čupić
Browse files

Accept variable params in create_params

parent 2cc78c0b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment