aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-07-30 14:46:45 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-07-30 14:46:45 -0700
commitd9108abcad66412f9e8604479cdcc7795a3262b1 (patch)
tree5a057d4151bd0ccb22c8abfd3e2188e110a036cf /actionpack/lib/action_dispatch/routing
parent210b338db20b1cdd0684f40bd78b52ed16148b99 (diff)
downloadrails-d9108abcad66412f9e8604479cdcc7795a3262b1.tar.gz
rails-d9108abcad66412f9e8604479cdcc7795a3262b1.tar.bz2
rails-d9108abcad66412f9e8604479cdcc7795a3262b1.zip
fix variable name
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb6
1 files changed, 3 insertions, 3 deletions
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