instance method
_prefixes
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v4.0.13Signature
_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