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:
Riyad Preukschas 2012-11-22 21:50:36 +01:00
parent ddb7399ac4
commit 2b1afa0e62
5 changed files with 17 additions and 18 deletions

View file

@ -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