mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
This is not needed
This commit is contained in:
parent
937f41919c
commit
2734d3819f
1 changed files with 0 additions and 26 deletions
|
@ -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
|
Loading…
Reference in a new issue