instance method _prefixes

Ruby on Rails 4.1.16

Since v4.1.16 Last seen in v4.1.16

Signature

_prefixes()

The prefixes used in render “foo” shortcuts.

Source
# File actionview/lib/action_view/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 actionview/lib/action_view/view_paths.rb line 33 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::ViewPaths

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close