This commit is contained in:
Albert Yi
2018-05-10 10:20:51 -07:00
parent 519769d951
commit 320f1a426e
2 changed files with 4 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ module Moderator
def undelete
@post = ::Post.find(params[:id])
@post.undelete!
@post.approve!
end
def confirm_move_favorites