Rails link to an image instead of text


/ Published in: Rails
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <%= link_to image_tag("search.gif", :border=>0), :action => 'show', :id => user %>

URL: http://snippets.dzone.com/posts/show/1375

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.