aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-07 14:26:20 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-07 14:26:20 -0300
commitb18a27375a62b7c9848cd2dc7b5cf152ef61b62f (patch)
tree3e3e77a104d6d30d24c733d1a18df5e245aa9f72
parent9eeb3cc040f9ab701279d73aa76f12737cedd3fb (diff)
downloadrails-b18a27375a62b7c9848cd2dc7b5cf152ef61b62f.tar.gz
rails-b18a27375a62b7c9848cd2dc7b5cf152ef61b62f.tar.bz2
rails-b18a27375a62b7c9848cd2dc7b5cf152ef61b62f.zip
Add CHANGELOG entry for #11348
-rw-r--r--actionview/CHANGELOG.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index ba1c7936b3..2981e76ec5 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,17 @@
+* Fix `link_to` with block and url hashes.
+
+ Before:
+
+ link_to(action: 'bar', controller: 'foo') { content_tag(:span, 'Example site') }
+ # => "<a action=\"bar\" controller=\"foo\"><span>Example site</span></a>"
+
+ After:
+
+ link_to(action: 'bar', controller: 'foo') { content_tag(:span, 'Example site') }
+ # => "<a href=\"/\"><span>Example site</span></a>"
+
+ *Murahashi Sanemat Kenichi*
+
* Fix "Stack Level Too Deep" error when redering recursive partials.
Fixes #11340.