Remove unnecessary brackets on WIKI_SLUG_ID route constraints

parent 928c9480
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment