Hi all, I'm having trouble when using nested links in my application. I have a list view, where you can click on a link that will "show" a form for another object. For example: I have a Contacts table, and a Companies table. A Company has_many contacts and a Contact belongs_to a company. In the contacts list view, you can click on the company name and it will display the information regarding that company.
The problem is, when a "show" view is nested in a list view, and the nested object is not in the same table as the list, the "close" button, not the "x" button, returns to the incorrect page. So if I clicked on Company A which is associated to Contact A, and then I click "Close" in the show view of Company A, it returns to the Companies table instead of the Contacts table. The same thing happens with nested shows/lists when trying to update, and then clicking "Cancel." The "x" buttons always un-nest as you would expect them to, which is what I want the "Close" or "Cancel" buttons to do. Any ideas? This seems to be a problem with AS but my colleague has a similar setup with nesting, and his works fine. Thanks for reading, Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
