Remove merge_request#raw and replace it with formats to #show
Needed to add a constraint on the id. Otherwise the format was parsed as part of the id.
This commit is contained in:
parent
ddb7399ac4
commit
2b1afa0e62
5 changed files with 17 additions and 18 deletions
|
@ -159,12 +159,11 @@ Gitlab::Application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resources :merge_requests do
|
||||
resources :merge_requests, constraints: {id: /\d+/} do
|
||||
member do
|
||||
get :diffs
|
||||
get :automerge
|
||||
get :automerge_check
|
||||
get :raw
|
||||
end
|
||||
|
||||
collection do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue