Add Compare#index and Compare#create actions
Create just redirects to our specially-formatted #show action
This commit is contained in:
parent
8fe63dab52
commit
6cb626ef51
3 changed files with 13 additions and 1 deletions
|
@ -162,7 +162,7 @@ Gitlab::Application.routes.draw do
|
|||
# XXX: WIP
|
||||
resources :commit, only: [:show], constraints: {id: /[[:alnum:]]{6,40}/}
|
||||
resources :commits, only: [:show], constraints: {id: /.+/}
|
||||
resources :compare, only: [:index]
|
||||
resources :compare, only: [:index, :create]
|
||||
resources :blame, only: [:show], constraints: {id: /.+/}
|
||||
resources :blob, only: [:show], constraints: {id: /.+/}
|
||||
resources :tree, only: [:show], constraints: {id: /.+/}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue