Commit b64a78d42fbbfb80ee483f94ca5a31c0416b7c3d

Authored by Francisco Júnior
2 parents 64f55931 0f8ab7f8

Merge branch 'AI3074-community_dashboard' into stable

plugins/community_hub/lib/community_hub_plugin.rb
... ... @@ -13,6 +13,7 @@ class CommunityHubPlugin < Noosfero::Plugin
13 13 end
14 14  
15 15 def content_types
  16 + return [] if !context.kind_of?(CmsController)
16 17 if context.respond_to?(:params) && context.params
17 18 types = []
18 19 types << CommunityHubPlugin::Hub if context.profile.community?
... ...