This commit is contained in:
duratarskeyk 2015-12-08 13:59:18 +00:00
parent af8f899b66
commit cc638dd508
1 changed files with 2 additions and 2 deletions

View File

@ -369,8 +369,8 @@ Rails.application.routes.draw do
patch '/sections' => 'projects#sections'
delete '/remove_user' => 'projects#remove_user', as: :remove_user_project
# constraints treeish: /[\w\-\.]+(\/[\w\-\.]+)?/ do
constraints project_name: /.+/ do
get '/' => 'project#project_page'
constraints treeish: /.+/ do
get '/' => 'projects#project_page'
end
end
end