From 8e1346da16cb05a5f48f19e40a86ef4697151362 Mon Sep 17 00:00:00 2001 From: Evandro Magalhaes Leite Junior - SUPDE/DEPAE/DE009 <93274300500@serpro-1553624.(none)> Date: Tue, 13 May 2014 16:30:39 -0300 Subject: [PATCH] added empty view --- controllers/email_article_plugin_myprofile_controller.rb | 4 +--- views/send_email.erb | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 views/send_email.erb 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