noosfero | Checkbox to user can edit page (#660)
Rodrigo Souto
gitlab at gitlab.com
Tue Aug 25 14:15:41 BRT 2015
New comment for Merge Request 660
https://gitlab.com/noosfero/noosfero/merge_requests/660#note_1970095
Rodrigo Souto
Try to DRY this `user.is_admin?(environment) || !environment.enabled?('disable_appearance')` logic. It's duplicated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150825/31670183/attachment.html>
More information about the Noosfero-dev
mailing list