all_helpers_from_path(path) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/helpers.rb, line 95
      def all_helpers_from_path(path)
        helpers = []
        Array.wrap(path).each do |_path|
          extract  = /^#{Regexp.quote(_path.to_s)}\/?(.*)_helper.rb$/
          helpers += Dir["#{_path}/**/*_helper.rb"].map { |file| file.sub(extract, '\1') }
        end
        helpers.sort!
        helpers.uniq!
        helpers
      end
Register or log in to add new notes.