Permalink
Browse files

Add CHANGELOG entry for #11348

  • Loading branch information...
1 parent 9eeb3cc commit b18a27375a62b7c9848cd2dc7b5cf152ef61b62f @rafaelfranca rafaelfranca committed Jul 7, 2013
Showing with 14 additions and 0 deletions.
  1. +14 −0 actionview/CHANGELOG.md
View
@@ -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>"
@egilburg

egilburg Jul 7, 2013

Contributor

Shouldn't the example say something like <a href=\"/foo/bar\">...? Although it may be different with non-canonical routes, right now the example makes it seem like the url hash is being ignored.

+
+ *Murahashi Sanemat Kenichi*
+
* Fix "Stack Level Too Deep" error when redering recursive partials.
Fixes #11340.

0 comments on commit b18a273

Please sign in to comment.