From 2962cb80f1a1c4e49c6ca44b74eda1f7dee482ed Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 20 Aug 2015 21:06:27 -0400 Subject: [PATCH] #2495 move favorites "Delete" already includes the ability to move favorites, this is just a convenience function. --- app/controllers/moderator/post/posts_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/moderator/post/posts_controller.rb b/app/controllers/moderator/post/posts_controller.rb index 8947957e1..e685a8f2c 100644 --- a/app/controllers/moderator/post/posts_controller.rb +++ b/app/controllers/moderator/post/posts_controller.rb @@ -1,8 +1,7 @@ module Moderator module Post class PostsController < ApplicationController - before_filter :post_approvers_only, :only => [:delete, :undelete, :ban, :unban, :confirm_ban, :confirm_delete] - before_filter :moderator_only, :only => [:move_favorites, :confirm_move_favorites] + before_filter :post_approvers_only, :only => [:delete, :undelete, :move_favorites, :ban, :unban, :confirm_delete, :confirm_move_favorites, :confirm_ban] before_filter :admin_only, :only => [:expunge] rescue_from ::PostFlag::Error, ::Post::ApprovalError, :with => :rescue_exception