diff --git a/config/routes.rb b/config/routes.rb index 52b145984..32996fa27 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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