Hi all, I have a scenario where users will create new documents, documents will have sections, and users can add boilerplate content to each section. Users will also be able to make a local (editable) copy of the pieces of content.
I want to present this to the users as a single page, with the document, sections and pieces all available and editable without a lot of navigating. I do this by rendering the section collection on the project page, and the piece collection on each section card. I have most of this working, but for creating a copy of a piece of content, I need to update the link table that joins the piece of content to the section. What I do is 1. create a copy of the piece, flag the copy as editable and then change the piece_id on the join and refresh the page. but ... the urls constructed for my "copy" link, which includes the piece_id, the action name and the section_id *all* have the section id for the first section on the page, regardless of which section a piece is in. So if I click "copy" on piece 4 in section 3, the controller tries to make a copy of piece 4 in section 1. Any ideas? Thanks, -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
