Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab <gitlab@localhost>2014-04-13 19:46:41 +0400
committerGitLab <gitlab@localhost>2014-04-13 19:46:41 +0400
commitbb7df7663a8952d60abea015f823b7acbc8c49c2 (patch)
treeb95b95d56143d28953412bc00c7c9fdcb790af0e /config
parent0f31acd0ec9b8a6ccfe9c6b0038736ad724814c0 (diff)
Add short path route for groups.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
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