How do I wrap a link around view code? I can\'t figure out how to pass multiple lines with ruby code to a single link_to method. The result I am looking for is
link_to
For older Rails versions, you can use
<% content_tag(:a, :href => foo_path) do %> Foo <% end %>