Commit cb4a7a6b18ac0b6745ac2b1d9246a527318e3ee2
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'AI3133-email_article_to_community_members' into rails3_stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/email_article/lib/email_article_plugin.rb
@@ -18,7 +18,7 @@ class EmailArticlePlugin < Noosfero::Plugin | @@ -18,7 +18,7 @@ class EmailArticlePlugin < Noosfero::Plugin | ||
18 | link_to_remote( | 18 | link_to_remote( |
19 | label, | 19 | label, |
20 | { | 20 | { |
21 | - :url => { :controller => 'email_article_plugin_myprofile', :action => "send_email", :id => @page}, | 21 | + :url => { :controller => 'email_article_plugin_myprofile', :action => "send_email", :id => @page, :profile => @page.profile}, |
22 | :method => :get, | 22 | :method => :get, |
23 | :success => "display_notice('" + _("Messages are being sent") + "')", | 23 | :success => "display_notice('" + _("Messages are being sent") + "')", |
24 | :failure => "display_notice('" + _("Error sending emails") + "')", | 24 | :failure => "display_notice('" + _("Error sending emails") + "')", |