Prefix ActionView::Base private methods with an underscore

This commit is contained in:
Joshua Peek
2008-08-31 10:45:59 -05:00
parent 56c2b02f59
commit 8eec694598
5 changed files with 13 additions and 12 deletions

View File

@@ -218,7 +218,7 @@ module ActionController #:nodoc:
# Returns the template of the file which was used to
# render this response (or nil)
def rendered_template
template._first_render
template.send(:_first_render)
end
# A shortcut to the flash. Returns an empty hash if no session flash exists.