Skip to content
Snippets Groups Projects
Commit b8960354 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Respond with no content for pipeline JSON actions

parent a1debf5c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -97,9 +97,7 @@ class Projects::PipelinesController < Projects::ApplicationController
redirect_back_or_default default: namespace_project_pipelines_path(project.namespace, project)
end
 
format.json do
render status: 204
end
format.json { head :no_content }
end
end
 
Loading
Loading
@@ -111,9 +109,7 @@ class Projects::PipelinesController < Projects::ApplicationController
redirect_back_or_default default: namespace_project_pipelines_path(project.namespace, project)
end
 
format.json do
render status: 204
end
format.json { head :no_content }
end
end
 
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