Commit d55a0db2a9c1756c69edc5ad24f6946df84eb582

Authored by Leandro Santos
1 parent 637f3427

updating serpro integration plugin

plugins/serpro_integration/lib/serpro_integration_plugin.rb
@@ -19,7 +19,7 @@ class SerproIntegrationPlugin < Noosfero::Plugin @@ -19,7 +19,7 @@ class SerproIntegrationPlugin < Noosfero::Plugin
19 #FIXME make this test 19 #FIXME make this test
20 def profile_editor_extras 20 def profile_editor_extras
21 proc do 21 proc do
22 - render :file => 'profile-editor-extras' if profile.kind_of?(Community) 22 + render :file => 'profile-editor-extras', :locals => {:context => self} if profile.kind_of?(Community)
23 end 23 end
24 end 24 end
25 25