From eb493f5ac84f2d65fbd1666e1496f0a8deafa27f Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Thu, 20 Dec 2012 15:42:39 -0500 Subject: update AD::Journey to follow Rails coding conventions --- actionpack/lib/action_dispatch/journey/router/strexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/journey/router') diff --git a/actionpack/lib/action_dispatch/journey/router/strexp.rb b/actionpack/lib/action_dispatch/journey/router/strexp.rb index 829ced8039..f97f1a223e 100644 --- a/actionpack/lib/action_dispatch/journey/router/strexp.rb +++ b/actionpack/lib/action_dispatch/journey/router/strexp.rb @@ -8,7 +8,7 @@ module ActionDispatch attr_reader :path, :requirements, :separators, :anchor - def initialize path, requirements, separators, anchor = true + def initialize(path, requirements, separators, anchor = true) @path = path @requirements = requirements @separators = separators -- cgit v1.2.3