diff options
author | Lucas Mazza <lucastmazza@gmail.com> | 2014-07-02 18:48:04 -0300 |
---|---|---|
committer | Lucas Mazza <lucastmazza@gmail.com> | 2014-07-02 20:02:00 -0300 |
commit | b00b638b95dc513f4ba854ba3a96b7a8f344e4cc (patch) | |
tree | ab60799425fff87b3e74de6c6423816ca82614ce /activerecord/test/schema/mysql_specific_schema.rb | |
parent | a4104278b5cc5a7e7b15473c1ea74125f915f2db (diff) | |
download | rails-b00b638b95dc513f4ba854ba3a96b7a8f344e4cc.tar.gz rails-b00b638b95dc513f4ba854ba3a96b7a8f344e4cc.tar.bz2 rails-b00b638b95dc513f4ba854ba3a96b7a8f344e4cc.zip |
Change the JSON renderer to enforce the 'JS' Content Type
The controller can set the response format as 'JSON' before the renderer code be
evaluated, so we must replace it when necessary.
Fixes #15081
Diffstat (limited to 'activerecord/test/schema/mysql_specific_schema.rb')
0 files changed, 0 insertions, 0 deletions