search for: delegate_template_exist

Displaying 1 result from an estimated 1 matches for "delegate_template_exist".

2005 Dec 19
1
Preserving fallback with RJS
...t to render an RJS template over another. Thoughts? Also, I''ll show the code that I think pertains so you can see what might need to be changed. Looking at the render code which controlls which template we go to... def pick_template_extension(template_path)#:nodoc: if match = delegate_template_exists?(template_path) match.first elsif erb_template_exists?(template_path): ''rhtml'' elsif builder_template_exists?(template_path): ''rxml'' elsif javascript_template_exists?(template_path): ''rjs'' else...