diff options
author | GitLab <gitlab@localhost> | 2014-04-13 19:46:41 +0400 |
---|---|---|
committer | GitLab <gitlab@localhost> | 2014-04-13 19:46:41 +0400 |
commit | bb7df7663a8952d60abea015f823b7acbc8c49c2 (patch) | |
tree | b95b95d56143d28953412bc00c7c9fdcb790af0e /config | |
parent | 0f31acd0ec9b8a6ccfe9c6b0038736ad724814c0 (diff) |
Add short path route for groups.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 709b66d3e06..f23542cc893 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -327,5 +327,7 @@ Gitlab::Application.routes.draw do end end + get ':id' => "groups#show", constraints: {id: /(?:[^.]|\.(?!atom$))+/, format: /atom/} + root to: "dashboard#show" end |