public Method

Base.file_exists?(template_path)

There's no documentation for this item.

Source Code

# File action_view/base.rb, line 403
def file_exists?(template_path)#:nodoc:
  template_file_name, template_file_extension = path_and_extension(template_path)
  if template_file_extension
    template_exists?(template_file_name, template_file_extension)
  else
    template_exists?(template_file_name, pick_template_extension(template_path))
  end
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.