diff options
Diffstat (limited to 'config/routes/repository.rb')
-rw-r--r-- | config/routes/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/repository.rb b/config/routes/repository.rb index e59168c6af4..4815575ba9f 100644 --- a/config/routes/repository.rb +++ b/config/routes/repository.rb @@ -65,7 +65,7 @@ scope format: false do resources :protected_tags, only: [:index, :show, :create, :update, :destroy] end - scope path: '-', constraints: { id: /[^\0]+/ } do + scope constraints: { id: /[^\0]+/ } do scope controller: :blob do get '/new/*id', action: :new, as: :new_blob post '/create/*id', action: :create, as: :create_blob |