diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-25 21:24:48 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-25 21:50:26 -0500 |
commit | ba0d621695c372464383b56d2f33a7b892ed6aa5 (patch) | |
tree | 77f22a308a5dc5a887e2b2e77ea89fda94636356 /actionpack/lib/action_view/base.rb | |
parent | e5cad349164ae512c45376e00578855b780d7a48 (diff) | |
download | rails-ba0d621695c372464383b56d2f33a7b892ed6aa5.tar.gz rails-ba0d621695c372464383b56d2f33a7b892ed6aa5.tar.bz2 rails-ba0d621695c372464383b56d2f33a7b892ed6aa5.zip |
Include all helpers into ActionView::Helper
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index a85e698c1f..cc89c66a39 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -203,19 +203,6 @@ module ActionView #:nodoc: end include CompiledTemplates - def self.helper_modules #:nodoc: - helpers = [] - Dir.entries(File.expand_path("#{File.dirname(__FILE__)}/helpers")).sort.each do |file| - next unless file =~ /^([a-z][a-z_]*_helper).rb$/ - require "action_view/helpers/#{$1}" - helper_module_name = $1.camelize - if Helpers.const_defined?(helper_module_name) - helpers << Helpers.const_get(helper_module_name) - end - end - return helpers - end - def self.process_view_paths(value) ActionView::PathSet.new(Array(value)) end |