instance method
_prefixes
Ruby on Rails 4.1.16
Since v4.1.16 Last seen in v4.1.16Signature
_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