method
with_prepended_formats
rails latest stable - Class:
ActionView::LookupContext
with_prepended_formats(formats)public
No documentation available.
# File actionview/lib/action_view/lookup_context.rb, line 246
def with_prepended_formats(formats)
details = @details.dup
details[:formats] = formats
self.class.new(@view_paths, details, @prefixes)
end