instance method _prefixes

Ruby on Rails 3.2.22.5

Since v3.1.12 Last seen in v4.0.13

Available in: v3.1.12 v3.2.22.5 v4.0.13

Signature

_prefixes()

The prefixes used in render “foo” shortcuts.

Source
# File actionpack/lib/abstract_controller/view_paths.rb, line 33
    def _prefixes
      @_prefixes ||= begin
        parent_prefixes = self.class.parent_prefixes
        parent_prefixes.dup.unshift(controller_path)
      end
    end

Defined in actionpack/lib/abstract_controller/view_paths.rb line 33 · View on GitHub · Improve this page · Find usages on GitHub

Defined in AbstractController::ViewPaths

Type at least 2 characters to search.

↑↓ navigate · open · esc close