Commit cb4a7a6b18ac0b6745ac2b1d9246a527318e3ee2

Authored by Victor Costa
2 parents 15ac76b8 062c9cce

Merge branch 'AI3133-email_article_to_community_members' into rails3_stable

plugins/email_article/lib/email_article_plugin.rb
... ... @@ -18,7 +18,7 @@ class EmailArticlePlugin < Noosfero::Plugin
18 18 link_to_remote(
19 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 22 :method => :get,
23 23 :success => "display_notice('" + _("Messages are being sent") + "')",
24 24 :failure => "display_notice('" + _("Error sending emails") + "')",
... ...