noosfero | WIP: Button to sensitive content (!1640)

Rodrigo Souto gitlab at mg.gitlab.com
Wed Nov 28 12:15:13 BRST 2018


Rodrigo Souto started a new discussion on app/models/generic_context.rb:

> +    @current_user
> +  end
> +
> +  def current_page
> +    @current_page
> +  end
> +
> +  def selected_profile
> +    @selected_profile
> +  end
> +
> +  def select_subdirectory
> +    @select_subdirectory
> +  end
> +
> +  def content_options

We need to extend this to plugins as well through a hotspot in order to include contents provided by plugins. You probably should be able to use the hotspot that is already created named `content_types`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1640#note_120737562
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/26aed2e6/attachment-0001.html>


More information about the Noosfero-dev mailing list