Updated documentation for block helpers in url_helper.rb

This commit is contained in:
Jeroen van Dijk
2010-03-12 13:17:41 +01:00
parent 8cc55777a8
commit e98474096a

View File

@@ -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">