noosfero | [PublicAccessRestriction Plugin] Adds public pages (!1188)

Rodrigo Souto gitlab at mg.gitlab.com
Fri Apr 28 10:11:26 BRT 2017


Rodrigo Souto started a new discussion on plugins/public_access_restriction/lib/ext/organization.rb:

> +require_dependency 'organization'
> +
> +class Organization
> +
> +  settings_items :show_public_page, type: :boolean, default: false

@gabrielssilva, use Noosfero::Plugin::Settings for this instead of this extension. The plugin settings infra ensure plugins namespaces and avoid this extension practice which we might want to stop using eventually..

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1188#note_28458832
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/20170428/d1ac0e16/attachment.html>


More information about the Noosfero-dev mailing list