summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0a29782f55b..c71f5f190d5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -513,7 +513,7 @@ Rails.application.routes.draw do
end
end
- WIKI_SLUG_ID = { id: /[a-zA-Z.0-9_\-\/]+/ } 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