diff options
author | Gaurav Sharma <gaurav2728@gmail.com> | 2015-09-26 00:20:41 +0530 |
---|---|---|
committer | Gaurav Sharma <gaurav2728@gmail.com> | 2015-09-26 00:20:41 +0530 |
commit | 2b8a862365e1826eb89abed152517a45046669c6 (patch) | |
tree | 50ade17b2e7c2feeeb8eb1247faff4d270194a55 /actionpack/lib | |
parent | 3c52b2000cbee716b5e449974c312c4fb552f64f (diff) | |
download | rails-2b8a862365e1826eb89abed152517a45046669c6.tar.gz rails-2b8a862365e1826eb89abed152517a45046669c6.tar.bz2 rails-2b8a862365e1826eb89abed152517a45046669c6.zip |
fix Mime type in doc since mime types via constants is deprecated [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_types.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_types.rb b/actionpack/lib/action_dispatch/http/mime_types.rb index 0af3e5c0df..04828f7c87 100644 --- a/actionpack/lib/action_dispatch/http/mime_types.rb +++ b/actionpack/lib/action_dispatch/http/mime_types.rb @@ -32,5 +32,5 @@ Mime::Type.register "application/json", :json, %w( text/x-json application/jsonr Mime::Type.register "application/pdf", :pdf, [], %w(pdf) Mime::Type.register "application/zip", :zip, [], %w(zip) -# Create Mime::ALL but do not add it to the SET. +# Create Mime::Type[:ALL] but do not add it to the SET. Mime::Type.add_type :ALL, Mime::Type::All.new("*/*", :all, []) |