mirror of
https://github.com/github/rails.git
synced 2026-01-26 23:08:58 -05:00
deprecate Base#assign_default_content_type_and_charset
This commit is contained in:
@@ -1218,6 +1218,11 @@ module ActionController #:nodoc:
|
||||
@action_name = (params['action'] || 'index')
|
||||
end
|
||||
|
||||
def assign_default_content_type_and_charset
|
||||
response.assign_default_content_type_and_charset!
|
||||
end
|
||||
deprecate :assign_default_content_type_and_charset => :'response.assign_default_content_type_and_charset!'
|
||||
|
||||
def action_methods
|
||||
self.class.action_methods
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user