aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railties/url_helpers.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-03-30 14:05:42 -0500
committerJoshua Peek <josh@joshpeek.com>2010-03-30 14:05:42 -0500
commitcdf8c35ffdfb39f4de4b030576b1abb06c482668 (patch)
tree16f3973a7f844aa3e55c72c26ba9266c24a6fa72 /actionpack/lib/action_controller/railties/url_helpers.rb
parent17f0c1e9e8a5bfa7c4d2e1632c3b8b91f4678f03 (diff)
downloadrails-cdf8c35ffdfb39f4de4b030576b1abb06c482668.tar.gz
rails-cdf8c35ffdfb39f4de4b030576b1abb06c482668.tar.bz2
rails-cdf8c35ffdfb39f4de4b030576b1abb06c482668.zip
Consistent routing language
Diffstat (limited to 'actionpack/lib/action_controller/railties/url_helpers.rb')
-rw-r--r--actionpack/lib/action_controller/railties/url_helpers.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/railties/url_helpers.rb b/actionpack/lib/action_controller/railties/url_helpers.rb
index 5f95e1c621..9df5665542 100644
--- a/actionpack/lib/action_controller/railties/url_helpers.rb
+++ b/actionpack/lib/action_controller/railties/url_helpers.rb
@@ -1,14 +1,14 @@
module ActionController
module Railties
module UrlHelpers
- def self.with(router)
+ def self.with(routes)
Module.new do
define_method(:inherited) do |klass|
super(klass)
- klass.send(:include, router.url_helpers)
+ klass.send(:include, routes.url_helpers)
end
end
end
end
end
-end \ No newline at end of file
+end