Remove unnecessary brackets on WIKI_SLUG_ID route constraints
This commit is contained in:
parent
928c94807e
commit
364e63fa2f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue