I am a newbie to Hobo and I am trying to create a list of items that
have links back to actions while preserving the id of the record. In
standard rails I was able to achieve this easily (index.html.erb
below) but I'm confused on how to modify cards to achieve this end
result:

<h1>Sites</h1>
<table>
<% @sites.each do |site| %>
        <tr><td><%=h site.name %></td><td><%=h site.siteurl %></td><td><%=
link_to "Info", :controller => "site", :action => "show", :id=>site.id
%></td><td><%= link_to "Shop!", :controller => "site", :action =>
"shop", :id=>site.id %></td></tr>
<% end %>
</table>

Hope someone can point me the right direction. Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to