aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 13:17:41 +0100
committerJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 16:50:14 +0100
commite98474096a6a514b2a5c29907a261229a4953273 (patch)
tree7384f7008cdbb651c62766a42b7289706171977f /actionpack/lib/action_view/helpers/url_helper.rb
parent8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd (diff)
downloadrails-e98474096a6a514b2a5c29907a261229a4953273.tar.gz
rails-e98474096a6a514b2a5c29907a261229a4953273.tar.bz2
rails-e98474096a6a514b2a5c29907a261229a4953273.zip
Updated documentation for block helpers in url_helper.rb
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 168a3bdbc0..fde4bfa4ce 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -162,7 +162,7 @@ module ActionView
#
# You can use a block as well if your link target is hard to fit into the name parameter. ERb example:
#
- # <% link_to(@profile) do %>
+ # <%= link_to(@profile) do %>
# <strong><%= @profile.name %></strong> -- <span>Check it out!</span>
# <% end %>
# # => <a href="/profiles/1">