module RailsCom::PartialRenderer
Public Instance Methods
find_template(path, locals)
click to toggle source
# File lib/rails_com/action_view/template_renderer.rb, line 24 def find_template(path, locals) if path.start_with?('_') prefixes = @lookup_context.prefixes elsif path.include?(?/) prefixes = [] else prefixes = @lookup_context.prefixes end @lookup_context.find_template(path, prefixes, true, locals, @details) end