RE: NOOB: Second post, please help


#1

Here is my code example:
Fyi - in this example “facility” is the parent table to the “permits”
table.

Page A (facility) links to page B (permits) using this code, and it
works fine.
<%= link_to ‘Permits’, { :action => ‘…\permits\list’, :facilityid =>
facility}, :post => true %>

Page B (permits) then links back to page A(facility), but this does not
work.
<%= link_to ‘Return to facilities’, :action => ‘…/facilities/list’,
:post => true %>

The error I get when going from page B -> A, is that code in the
facility/list.rhtml