Displaying 1 result from an estimated 1 matches for "template_file_nam".
Did you mean:
template_file_name
2005 Dec 19
1
Preserving fallback with RJS
...emplate found for #{template_path}"
end
end
def render_file(template_path, use_full_path = true, local_assigns = {})
@first_render = template_path if @first_render.nil?
if use_full_path
template_extension = pick_template_extension(template_path)
template_file_name = full_template_path(template_path,
template_extension)
else
template_file_name = template_path
template_extension = template_path.split(''.'').last
end
template_source = nil # Don''t read the source until we know that
it is required...