public Method

TemplateFinder.pick_template(template_path, extension)

There's no documentation for this item.

Source Code

# File action_view/template_finder.rb, line 95
def pick_template(template_path, extension)
  file_name = "#{template_path}.#{extension}"
  base_path = find_base_path_for(file_name)
  base_path.blank? ? false : "#{base_path}/#{file_name}"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.