From ae1f86fab5f80d00dc75541aef04eea8a349fb97 Mon Sep 17 00:00:00 2001 From: Gosha Arinich Date: Mon, 7 Jan 2013 16:09:22 +0300 Subject: access `@path` and `@routes` via reader methods in journey --- actionpack/lib/action_dispatch/journey/route.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/journey/route.rb') diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb index f8a53227f3..d3988cf31e 100644 --- a/actionpack/lib/action_dispatch/journey/route.rb +++ b/actionpack/lib/action_dispatch/journey/route.rb @@ -45,7 +45,7 @@ module ActionDispatch end def segments - @path.names + path.names end def required_keys -- cgit v1.2.3