[#345] old route constraint

This commit is contained in:
Alexander Machehin 2014-03-26 00:44:06 +06:00
parent 4adae8319b
commit 36d61d2e08
1 changed files with 1 additions and 1 deletions

View File

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