mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Prefix ActionView::Base private methods with an underscore
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user