diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index a9af168e..820242d6 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -92,7 +92,7 @@ class ArticlesController < ApplicationController end # delete articles if params[:outlisted_articles] - params[:outlisted_articles].keys.each {|id| Article.find(id).destroy } + params[:outlisted_articles].keys.each {|id| Article.find(id).mark_as_deleted } end end # Successfully done.