public Method

Base.file_public?(template_path)

Returns true is the file may be rendered implicitly.

Source Code

# File action_view/base.rb, line 413
def file_public?(template_path)#:nodoc:
  template_path.split('/').last[0,1] != '_'
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.