From d9108abcad66412f9e8604479cdcc7795a3262b1 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 30 Jul 2014 14:46:45 -0700 Subject: fix variable name --- actionpack/lib/action_dispatch/routing/route_set.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 42d6ee40db..444c36a72b 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -435,16 +435,16 @@ module ActionDispatch def url_options; {}; end end - route_methods = routes.named_routes.url_helpers_module + url_helpers = routes.named_routes.url_helpers_module # Make named_routes available in the module singleton # as well, so one can do: # Rails.application.routes.url_helpers.posts_path - extend route_methods + extend url_helpers # Any class that includes this module will get all # named routes... - include route_methods + include url_helpers if include_path_helpers path_helpers = routes.named_routes.path_helpers_module -- cgit v1.2.3