Displaying 1 result from an estimated 1 matches for "test_run_path".
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
...nable to get any parameters through to the action.:
rhtml
======
<% @logs.each do |log| %>
<tr>
<td><%= log.base_name %></td>
<td><%= log.date_time %></td>
<td><%= log.status %></td>
<td><%= log.test_run_path %></td>
<td><%= link_to log.test_results_path, :action => "show_results",
:id => o, :params => { :result_file => log.test_results_path} %> </td>
</tr>
<% end %>
======
code:
====
def show_results
# get the results file a...