noosfero | WIP: Button to sensitive content (!1640)
Rodrigo Souto
gitlab at mg.gitlab.com
Wed Nov 28 12:15:11 BRST 2018
Rodrigo Souto started a new discussion on app/models/folder.rb:
> 'folder'
> end
>
> + def subdirectories
There is already a scope `folders` defined on Article. I think you should be able to use it instead of these `subdirectories` and `subdirectories_to` methods. Aside from removing unnecessary code we'd be also using a scope which is more reliable performance wise.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1640#note_120737460
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20181128/683657dc/attachment-0001.html>
More information about the Noosfero-dev
mailing list