/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<%= link_to 'example', {:action => "index", :id => @item}, :class => "myclass" %>
URL: http://lists.rubyonrails.org/pipermail/rails/2006-April/031420.html