Permalink
Browse files

fix variable name

  • Loading branch information...
1 parent 210b338 commit d9108abcad66412f9e8604479cdcc7795a3262b1 @tenderlove tenderlove committed Jul 30, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -435,16 +435,16 @@ class << self
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

0 comments on commit d9108ab

Please sign in to comment.