Commit d55a0db2a9c1756c69edc5ad24f6946df84eb582
1 parent
637f3427
Exists in
staging
and in
1 other branch
updating serpro integration plugin
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 |