1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_controller
Eugene Kenny 7cf445d3bd Use media_type instead of content_type internally
These calls to `content_type` were triggering the deprecation from
c631e8d011 in upgraded applications.

We can use `media_type` in all of these cases to avoid the deprecation.
2019-08-04 00:35:49 +01:00
..
api Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
metal Use media_type instead of content_type internally 2019-08-04 00:35:49 +01:00
railties Fix call sites 2018-10-02 15:31:29 -04:00
api.rb Revert "Include Caching module for ActionController::API" 2019-04-22 17:20:48 -04:00
base.rb Adds support for configuring HTTP Feature Policy (#33439) 2019-07-10 15:33:15 -07:00
caching.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
form_builder.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
log_subscriber.rb Reduce method calls 2019-07-31 17:41:34 +09:00
metal.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
railtie.rb [Action Pack] require => require_relative 2017-10-21 22:48:28 +09:00
renderer.rb Reduce Hash object creation when normalizing request env 2019-07-31 11:51:59 +09:00
template_assertions.rb Remove compatibility module from docs [ci skip] 2019-05-22 11:58:14 -04:00
test_case.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00