Update admin_posts_controller.rb