aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-12 08:33:46 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-12 08:33:46 -0200
commitfe24f3560a7fff2fc92c876d4909bd7231b9e3a3 (patch)
tree8e22d1d45b15a0edb0991dc871cbb8a86269d272 /actionpack
parent6645a2099ae00671807f796d3ef4e70106a9f792 (diff)
downloadrails-fe24f3560a7fff2fc92c876d4909bd7231b9e3a3.tar.gz
rails-fe24f3560a7fff2fc92c876d4909bd7231b9e3a3.tar.bz2
rails-fe24f3560a7fff2fc92c876d4909bd7231b9e3a3.zip
Changelog improvements [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 199f8e1ec3..102be1bdca 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,8 +1,10 @@
-* Fix generating a path for engine inside a resources block (#8533)
+* Fix generating a path for engine inside a resources block.
+
+ Fixes #8533.
*Piotr Sarnacki*
-* Add Mime::Type.register "text/vcard", :vcf to the default list of mime types
+* Add `Mime::Type.register "text/vcard", :vcf` to the default list of mime types.
*DHH*
@@ -26,7 +28,7 @@
The request variant is a specialization of the request format, like `:tablet`,
`:phone`, or `:desktop`.
- You can set the variant in a before_action:
+ You can set the variant in a `before_action`:
request.variant = :tablet if request.user_agent =~ /iPad/
@@ -85,7 +87,7 @@
* Add `session#fetch` method
- fetch behaves like [Hash#fetch](http://www.ruby-doc.org/core-1.9.3/Hash.html#method-i-fetch).
+ fetch behaves like [Hash#fetch](http://www.ruby-doc.org/core-1.9.3/Hash.html#method-i-fetch).
It returns a value from the hash for the given key.
If the key can’t be found, there are several options: