instance method
all_application_helpers
Ruby on Rails 2.2.3
Since v2.2.3 PrivateSignature
all_application_helpers()
Extract helper names from files in app/helpers/**/*.rb
Source
# File actionpack/lib/action_controller/helpers.rb, line 215
def all_application_helpers
extract = /^#{Regexp.quote(HELPERS_DIR)}\/?(.*)_helper.rb$/
Dir["#{HELPERS_DIR}/**/*_helper.rb"].map { |file| file.sub extract, '\1' }
end
Defined in actionpack/lib/action_controller/helpers.rb line 215
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Helpers::ClassMethods