diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb index 8f52656e..ccc35e73 100644 --- a/app/controllers/content_controller.rb +++ b/app/controllers/content_controller.rb @@ -237,7 +237,7 @@ class ContentController < ApplicationController def deleted @content_pages = {} @activated_content_types.each do |content_type| - @content_pages[content_type] = content_type.constantize.with_deleted.where('deleted_at > ?', 24.hours.ago) + @content_pages[content_type] = content_type.constantize.with_deleted.where('deleted_at > ?', 24.hours.ago).where(user_id: current_user.id) end end