diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-17 11:24:51 +0200 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-17 11:24:51 +0200 |
| commit | 40528a1326208a04f95f18d6dcc7547cdb8ae0c3 (patch) | |
| tree | 9e3f7ac86edfe03b218e3cd12ed9cae8b2b539f2 /config/routes.rb | |
| parent | 0e1f39d8cee3a6d23fccb195f8257178df840805 (diff) | |
| parent | 052de0600c6b137e6f9df08250b4cf5f38280295 (diff) | |
| download | gitlab-ce-40528a1326208a04f95f18d6dcc7547cdb8ae0c3.tar.gz | |
Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index bf7c5b76128..659ea51bc75 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -87,7 +87,7 @@ Rails.application.routes.draw do # Get all keys of user get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ } - get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ } - root to: "root#index" + + get '*unmatched_route', to: 'application#not_found' end |
