Commit 72bde10730975d48995a2728cd14a1f2e917d7d1

Authored by Francisco Júnior
2 parents 68a0e942 a9bb3ddd

Merge branch 'hotfixes' into stable

plugins/community_track/lib/community_track_plugin.rb
... ... @@ -13,6 +13,7 @@ class CommunityTrackPlugin < 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 parent_id = context.params[:parent_id]
... ...