diff --git a/controllers/email_article_plugin_myprofile_controller.rb b/controllers/email_article_plugin_myprofile_controller.rb index 583c2a3..794aa5d 100644 --- a/controllers/email_article_plugin_myprofile_controller.rb +++ b/controllers/email_article_plugin_myprofile_controller.rb @@ -6,12 +6,10 @@ class EmailArticlePluginMyprofileController < MyProfileController # 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] def send_email - # puts "ID ***************************" # y params[:id] # puts "END ID ***************************" - - profile = Profile[params[:profile]] +# profile = Profile[params[:profile]] article = Article.find(params[:id]) EmailArticlePluginMyprofileController::Sender.deliver_mail(article) end diff --git a/views/send_email.erb b/views/send_email.erb new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/views/send_email.erb @@ -0,0 +1 @@ + -- libgit2 0.21.2