Ruby on Rails Sunday, February 28, 2016

On 28 February 2016 at 04:37, fugee ohu <fugee279@gmail.com> wrote:
> ..
> Hi again and thanks again Tam I got it working like this
> <td><a href= "<%= task.name %>"><%= image_tag(task.name.thumb) %></a></td>
>

Unless I am missing something, this might be clearer
<td>
<%= link_to image_tag(task.name.thumb), task.name %>
</td>

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsp3r5MgD%2BNEUq%2B18WKG_prt6FjgfrOv46VK9-kai5jMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment