#2495 move favorites
"Delete" already includes the ability to move favorites, this is just a convenience function.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user