Ruby on Rails Sunday, February 28, 2016



On Sunday, February 28, 2016 at 4:41:28 AM UTC-5, Colin Law wrote:
On 28 February 2016 at 04:37, fugee ohu <fuge...@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

thank you

--
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/0b34b075-5f4d-4117-ad0d-48e6d10e53e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment