Switchable the main branch on network graph
This commit is contained in:
parent
c84675ee06
commit
525a8cd3e9
9 changed files with 43 additions and 22 deletions
|
@ -163,7 +163,6 @@ Gitlab::Application.routes.draw do
|
|||
resources :projects, constraints: { id: /[a-zA-Z.0-9_\-\/]+/ }, except: [:new, :create, :index], path: "/" do
|
||||
member do
|
||||
get "wall"
|
||||
get "graph"
|
||||
get "files"
|
||||
end
|
||||
|
||||
|
@ -173,6 +172,7 @@ Gitlab::Application.routes.draw do
|
|||
resources :compare, only: [:index, :create]
|
||||
resources :blame, only: [:show], constraints: {id: /.+/}
|
||||
resources :blob, only: [:show], constraints: {id: /.+/}
|
||||
resources :graph, only: [:show], constraints: {id: /.+/}
|
||||
match "/compare/:from...:to" => "compare#show", as: "compare",
|
||||
:via => [:get, :post], constraints: {from: /.+/, to: /.+/}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue