Update revisions_controller.rb