Posted By

ryanprel on 02/08/07


Tagged

link rails


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

bezugen
ryanriley
tkmr
mybluevan
webstic
madaemo


Display image in Link_to


 / Published in: Ruby
 

Displays a image inside link_to instead of text.

  1. <%= link_to image_tag("search.gif", :border=>0), :action => 'show', :id => user %>

Report this snippet  

You need to login to post a comment.