Update routes.rb

This commit is contained in:
Vokhmin Alexey V 2015-06-15 23:46:17 +03:00
parent b57fb4fc33
commit dca09050d0
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ Rails.application.routes.draw do
get :mass_import
end
end
scope '*name_with_owner', constraints: { name_with_owner: Project::OWNER_AND_NAME_REGEXP } do # project
scope '*name_with_owner', name_with_owner: Project::OWNER_AND_NAME_REGEXP do # project
scope as: 'project' do
resources :wiki do
collection do