Commit 8d2c04ec authored by Sean McGivern's avatar Sean McGivern

Merge branch 'project-push-rules-routes' into 'master'

Limit generated project push rule routes to one route that is really used

See merge request !1487
parents 5fe12452 c4cf46a9
......@@ -175,7 +175,7 @@ constraints(ProjectUrlConstrainer.new) do
post :update_now
end
end
resources :push_rules, constraints: { id: /\d+/ }
resources :push_rules, constraints: { id: /\d+/ }, only: [:update]
## EE-specific
resources :pipelines, only: [:index, :new, :create, :show] do
......
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