Fix ci service creation logic
This commit is contained in:
parent
406a0c809b
commit
9f65c274ef
3 changed files with 11 additions and 6 deletions
|
@ -19,7 +19,7 @@ class ServicesController < ProjectResourceController
|
|||
@service = @project.gitlab_ci_service
|
||||
|
||||
if @service.update_attributes(params[:service])
|
||||
redirect_to :back
|
||||
redirect_to edit_project_service_path(@project, :gitlab_ci)
|
||||
else
|
||||
render 'edit'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue