Displaying 1 result from an estimated 1 matches for "template_source".
2005 Dec 19
1
Preserving fallback with RJS
...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
.......
end
With local_assigns at the end of the method definition it makes it
tough to allow for a variable to specify rjs templates or the like
which would be passed to pick_template_extension. There may be a
bett...