Commit 64f55931b81856c77d4896a5c70edbb94ca1afb0

Authored by Francisco Júnior
2 parents 4cad4666 d4e1a346

Merge branch 'AI3283-integration_with_dspace' into stable

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
plugins/dspace/lib/dspace_plugin.rb
... ... @@ -9,6 +9,7 @@ class DspacePlugin < Noosfero::Plugin
9 9 end
10 10  
11 11 def content_types
  12 + return [] if !context.kind_of?(CmsController)
12 13 if context.respond_to?(:params) && context.params
13 14 types = []
14 15 parent_id = context.params[:parent_id]
... ...