Commit bc365df8557c86cc35dd4285953d3f20f6d09aa9
1 parent
c02800fa
Exists in
staging
and in
7 other branches
added empty view
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
plugins/email_article/controllers/email_article_plugin_myprofile_controller.rb
| @@ -6,12 +6,10 @@ class EmailArticlePluginMyprofileController < MyProfileController | @@ -6,12 +6,10 @@ class EmailArticlePluginMyprofileController < MyProfileController | ||
| 6 | # before_filter :login_required, :only => [:add, :join, :join_not_logged, :leave, :unblock, :leave_scrap, :remove_scrap, :remove_activity, :view_more_activities, :view_more_network_activities, :report_abuse, :register_report, :leave_comment_on_activity, :send_mail] | 6 | # before_filter :login_required, :only => [:add, :join, :join_not_logged, :leave, :unblock, :leave_scrap, :remove_scrap, :remove_activity, :view_more_activities, :view_more_network_activities, :report_abuse, :register_report, :leave_comment_on_activity, :send_mail] |
| 7 | 7 | ||
| 8 | def send_email | 8 | def send_email |
| 9 | - | ||
| 10 | # puts "ID ***************************" | 9 | # puts "ID ***************************" |
| 11 | # y params[:id] | 10 | # y params[:id] |
| 12 | # puts "END ID ***************************" | 11 | # puts "END ID ***************************" |
| 13 | - | ||
| 14 | - profile = Profile[params[:profile]] | 12 | +# profile = Profile[params[:profile]] |
| 15 | article = Article.find(params[:id]) | 13 | article = Article.find(params[:id]) |
| 16 | EmailArticlePluginMyprofileController::Sender.deliver_mail(article) | 14 | EmailArticlePluginMyprofileController::Sender.deliver_mail(article) |
| 17 | end | 15 | end |
No preview for this file type