diff options
-rw-r--r-- | actionpack/lib/action_controller/railties/url_helpers.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/actionpack/lib/action_controller/railties/url_helpers.rb b/actionpack/lib/action_controller/railties/url_helpers.rb deleted file mode 100644 index 3e6f211cda..0000000000 --- a/actionpack/lib/action_controller/railties/url_helpers.rb +++ /dev/null @@ -1,26 +0,0 @@ -module ActionController - module Railties - - module UrlHelpers - def self.with(routes) - Module.new do - define_method(:inherited) do |klass| - super(klass) - klass.send(:include, routes.url_helpers) - end - end - end - end - - module MountedHelpers - def self.with(routes, name = nil) - Module.new do - define_method(:inherited) do |klass| - super(klass) - klass.send(:include, routes.mounted_helpers(name)) - end - end - end - end - end -end |