search for: my_route_path

Displaying 1 result from an estimated 1 matches for "my_route_path".

2009 Apr 01
3
make a <tr>clickable
...e row clickable so the user will be directed to another url. If i was using hand written javascript i would just add an onclick to the <tr>, but i want to use rails routes and to be able to pass in parameters from ruby. What is the best way to accomplish this? <tr onclick = <%= link_to my_route_path %> > <td>content</td></tr> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to...