Update app/controllers/points_controller.rb