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/metal
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
..
basic_implicit_render.rb Remove args from default_render 2019-01-17 14:33:14 -08:00
conditional_get.rb ConditionalGet needs time core_ext 2019-08-02 01:12:36 -04:00
content_security_policy.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
cookies.rb
data_streaming.rb [ActionController] Fix send_file example for 404 2019-07-19 14:39:48 +09:00
default_headers.rb Include default headers by default in API mode 2018-04-06 15:13:28 -04:00
etag_with_flash.rb
etag_with_template_digest.rb Pass the template format to the digestor 2019-02-15 17:27:33 -08:00
exceptions.rb Typo fixes action pack. 2019-01-26 17:15:50 +05:30
feature_policy.rb Use reserved domain for example configuration 2019-07-15 08:16:51 +10:00
flash.rb Ensure external redirects are explicitly allowed 2019-01-17 13:28:14 -05:00
force_ssl.rb Revert ensure external redirects are explicitly allowed 2019-01-22 11:40:13 -05:00
head.rb Reduce method invocations and object allocations in head() 2019-07-31 17:41:34 +09:00
helpers.rb Update small typo in documentation. 2019-03-12 11:52:09 -04:00
http_authentication.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
implicit_render.rb Remove args from default_render 2019-01-17 14:33:14 -08:00
instrumentation.rb Reduce block execution 2019-07-31 17:41:34 +09:00
live.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
mime_responds.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
parameter_encoding.rb
params_wrapper.rb Reduce Array assignment by not giving a name for unused *args 2019-07-31 17:41:34 +09:00
redirecting.rb Revert ensure external redirects are explicitly allowed 2019-01-22 11:40:13 -05:00
renderers.rb Use media_type instead of content_type internally 2019-08-04 00:35:49 +01:00
rendering.rb Add Vary: Accept header when rendering 2019-07-26 13:52:06 +08:00
request_forgery_protection.rb Use media_type instead of content_type internally 2019-08-04 00:35:49 +01:00
rescue.rb Reduce Array assignment by not giving a name for unused *args 2019-07-31 17:41:34 +09:00
streaming.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
strong_parameters.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
testing.rb
url_for.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00