Skip to content
Snippets Groups Projects
Commit 364e63fa authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Remove unnecessary brackets on WIKI_SLUG_ID route constraints

parent 928c9480
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment