From 364e63fa2fb7f1b9dcaab26a674be9b2fcf1ab6b Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Tue, 12 Jan 2016 11:29:33 -0200 Subject: Remove unnecessary brackets on WIKI_SLUG_ID route constraints --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.1