From e98474096a6a514b2a5c29907a261229a4953273 Mon Sep 17 00:00:00 2001 From: Jeroen van Dijk Date: Fri, 12 Mar 2010 13:17:41 +0100 Subject: Updated documentation for block helpers in url_helper.rb --- actionpack/lib/action_view/helpers/url_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers/url_helper.rb') 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 %> # <%= @profile.name %> -- Check it out! # <% end %> # # => -- cgit v1.2.3