Commit bc365df8557c86cc35dd4285953d3f20f6d09aa9
1 parent
c02800fa
Exists in
staging
and in
4 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 | 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 | ... | ... |
No preview for this file type