Update reverts_controller.rb