noosfero | Add option to clone an article (#579)

Rodrigo Souto gitlab at gitlab.com
Tue May 19 13:37:42 BRT 2015


New comment for Merge Request 579

https://gitlab.com/noosfero/noosfero/merge_requests/579#note_1253210


Rodrigo Souto

Instead of `dup` you should use `Article#copy`. Note that `Article#copy` also saves the record, so you'll need to adapt it so you can get just a new record without saving it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150519/7bbb8811/attachment.html>


More information about the Noosfero-dev mailing list