aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-03-15 23:26:48 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-15 23:26:48 -0700
commitb3b6ff48dff49ebbdab0a53f576bc0572116767f (patch)
treec06880cd98480cb8817801e469161e115df5ced6 /actionpack/lib/action_view/helpers/url_helper.rb
parent9e1e95f70af3c566190f47ee7a52fd49f785ec12 (diff)
downloadrails-b3b6ff48dff49ebbdab0a53f576bc0572116767f.tar.gz
rails-b3b6ff48dff49ebbdab0a53f576bc0572116767f.tar.bz2
rails-b3b6ff48dff49ebbdab0a53f576bc0572116767f.zip
Fix link_to with block
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 14d59034f1..94f1cecade 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -206,7 +206,7 @@ module ActionView
if block_given?
options = args.first || {}
html_options = args.second
- safe_concat(link_to(capture(&block), options, html_options))
+ link_to(capture(&block), options, html_options)
else
name = args[0]
options = args[1] || {}