[#345] old route constraint
This commit is contained in:
parent
4adae8319b
commit
36d61d2e08
|
@ -357,7 +357,7 @@ Rosa::Application.routes.draw do
|
|||
post '/sections' => 'projects#sections'
|
||||
delete '/remove_user' => 'projects#remove_user', as: :remove_user_project
|
||||
# constraints treeish: /[\w\-\.]+(\/[\w\-\.]+)?/ do
|
||||
constraints treeish: /[\w\-\.]+/ do
|
||||
constraints /.+/ do
|
||||
constraints Rosa::Constraints::Treeish do
|
||||
# Tree
|
||||
get '/' => "git/trees#show", as: :project
|
||||
|
|
Loading…
Reference in New Issue