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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-12 16:29:33 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-14 17:09:31 +0300
commit364e63fa2fb7f1b9dcaab26a674be9b2fcf1ab6b (patch)
treeb52ed86600e5f5d8fa2ae514a945f2c7aa041141 /config
parent928c94807e7be066ff255da90cecd170efd0fbea (diff)
Remove unnecessary brackets on WIKI_SLUG_ID route constraints
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c71f5f190d5..321643f96ad 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -513,7 +513,7 @@ Rails.application.routes.draw do
end
end
- WIKI_SLUG_ID = { id: /[\S]+/ } unless defined? WIKI_SLUG_ID
+ WIKI_SLUG_ID = { id: /\S+/ } unless defined? WIKI_SLUG_ID
scope do
# Order matters to give priority to these matches