app/models/map.rb
#unpublishes a map, sets it's status to warped
unpublishes a map, sets it's status to warped
unpublishes a map sets it ' s status to warped
def unpublish
    self.paper_trail_event = 'unpublished'
    self.status = :warped
    self.save
    self.paper_trail_event = nil
    self.save
  end
def unpublish self . paper_trail_event = 'unpublished' self . status = :warped self . save self . paper_trail_event = nil self . save end
unpublishes a map, sets it's status to warped
unpublishes a map sets it ' s status to warped