Hi Jerome, what do you mean by redirect to duplicate when it s done?? - show a create view (cause duplicate is nt stored in db so far) - show an update view (cause duplicate is already stored in db) - just insert a new record (your duplicate) into list view
-- Volker On Feb 14, 8:17 pm, Jerome Stonebridge <[email protected]> wrote: > I would like to add a custom button next to the Edit Delete View button in > list view, for duplicating records, for one of my models. The model is so > complicated that they can't be plainly duplicated, so I just need to pass in > the id of a record to a custom controller action where the duplication can > take place, and redirect to the duplicate when its done. > > I'm wondering if there is an easy way to add such a button to one model's > list view -- 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.
