diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-08-21 21:34:03 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-21 21:34:03 -0500 |
commit | 0096f5586987b720ca24c09103c9371f64ed26e5 (patch) | |
tree | 49ea046d78a8175cc63e2004e26b5e1b479e24f8 /actionpack/lib/action_view/base.rb | |
parent | ba516b40f5867a68588c2fa5b6710dbfb97a12c6 (diff) | |
download | rails-0096f5586987b720ca24c09103c9371f64ed26e5.tar.gz rails-0096f5586987b720ca24c09103c9371f64ed26e5.tar.bz2 rails-0096f5586987b720ca24c09103c9371f64ed26e5.zip |
Removed template_public? because it will always be true since the default template is never a partial
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index cdbb71bdaa..a85e698c1f 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -275,11 +275,6 @@ module ActionView #:nodoc: end end - # Returns true is the file may be rendered implicitly. - def file_public?(template_path)#:nodoc: - template_path.split('/').last[0,1] != '_' - end - # The format to be used when choosing between multiple templates with # the same name but differing formats. See +Request#template_format+ # for more details. |