Flowdock
method

parent_prefixes

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: AbstractController::ViewPaths::ClassMethods
parent_prefixes() 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/abstract_controller/view_paths.rb, line 17
      def parent_prefixes
        @parent_prefixes ||= begin
          parent_controller = superclass
          prefixes = []

          until parent_controller.abstract?
            prefixes << parent_controller.controller_path
            parent_controller = parent_controller.superclass
          end

          prefixes
        end
      end
Register or log in to add new notes.