search for: show_result

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

Did you mean: show_results
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
...; <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 and do some munging end Is there a way to pass parameters to the link_to(), OR is there some better w...