Commit 8e1346da16cb05a5f48f19e40a86ef4697151362

Authored by Evandro Magalhaes Leite Junior - SUPDE/DEPAE/DE009
1 parent 25d3c4c8
Exists in master

added empty view

controllers/email_article_plugin_myprofile_controller.rb
... ... @@ -6,12 +6,10 @@ class EmailArticlePluginMyprofileController < MyProfileController
6 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 8 def send_email
9   -
10 9 # puts "ID ***************************"
11 10 # y params[:id]
12 11 # puts "END ID ***************************"
13   -
14   - profile = Profile[params[:profile]]
  12 +# profile = Profile[params[:profile]]
15 13 article = Article.find(params[:id])
16 14 EmailArticlePluginMyprofileController::Sender.deliver_mail(article)
17 15 end
... ...
views/send_email.erb 0 → 100644
No preview for this file type