Module: RailsCom::PartialRenderer
- Defined in:
- lib/rails_com/action_view/template_renderer.rb
Instance Method Summary collapse
Instance Method Details
#find_template(path, locals) ⇒ Object
24 25 26 27 28 29 30 31 32 33 |
# 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 |