diff options
author | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2016-02-13 17:05:41 +0200 |
---|---|---|
committer | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2016-02-13 17:11:05 +0200 |
commit | 2b63f2ee75467f020ebdcd379bcfac38dc7a8ee2 (patch) | |
tree | 70dac70a231ce88bb5d1376a01ed7e025c518dae /guides/source/action_mailer_basics.md | |
parent | 3974edb9ceff244e813358483a036d12578f7cca (diff) | |
download | rails-2b63f2ee75467f020ebdcd379bcfac38dc7a8ee2.tar.gz rails-2b63f2ee75467f020ebdcd379bcfac38dc7a8ee2.tar.bz2 rails-2b63f2ee75467f020ebdcd379bcfac38dc7a8ee2.zip |
Change x-gzip to gzip in docs [ci skip]
For more information about GNU zip mime type please check IETF's web site [RFC6713](http://tools.ietf.org/html/rfc6713) or [IANA](http://www.iana.org/assignments/media-types/media-types.xhtml#application)
Diffstat (limited to 'guides/source/action_mailer_basics.md')
-rw-r--r-- | guides/source/action_mailer_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md index cd2c13e8c1..cb9b6af214 100644 --- a/guides/source/action_mailer_basics.md +++ b/guides/source/action_mailer_basics.md @@ -278,7 +278,7 @@ different, encode your content and pass in the encoded content and encoding in a ```ruby encoded_content = SpecialEncode(File.read('/path/to/filename.jpg')) attachments['filename.jpg'] = { - mime_type: 'application/x-gzip', + mime_type: 'application/gzip', encoding: 'SpecialEncoding', content: encoded_content } |