Lauchix Lauchix - 2 months ago 7x
Ruby Question

Clickable Link_to Table in Rails

is there any way to do a clickable td ?

<% @companies.each do |c| %>
<td><%= %></td>...

Now I want to click on the name from the company and see another view(an overview from that company).
Is there a way with link_to or something else?
And btw I want the name from the company shown at this view



Just use link_to:

<td><%= link_to, some_path %></td>