Module ActionView::LookupContext::ViewPaths
In: lib/action_view/lookup_context.rb

Helpers related to template lookup using the lookup context information.

Methods

Attributes

view_paths  [R] 

Public Instance methods

find_template(name, prefixes = [], partial = false, keys = [], options = {})

Alias for find

template_exists?(name, prefixes = [], partial = false, keys = [], options = {})

Alias for exists?

Whenever setting view paths, makes a copy so we can manipulate then in instance objects as we wish.

Add fallbacks to the view paths. Useful in cases you are rendering a :file.

Protected Instance methods

Compute details hash and key according to user options (e.g. passed from render).

[Validate]