From 325d30ede32383d07549f354f35d54cc2c08fe41 Mon Sep 17 00:00:00 2001 From: ArtOfCode- <hello@artofcode.co.uk> Date: Sun, 10 May 2020 22:50:11 +0100 Subject: [PATCH] Remove debugging puts --- app/controllers/votes_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/votes_controller.rb b/app/controllers/votes_controller.rb index 1562b4643..dece5d53c 100644 --- a/app/controllers/votes_controller.rb +++ b/app/controllers/votes_controller.rb @@ -14,7 +14,6 @@ class VotesController < ApplicationController vote = post.votes.create(user: current_user, vote_type: params[:vote_type].to_i, recv_user: post.user) if vote.errors.any? - puts "hi" render json: { status: 'failed', message: vote.errors.full_messages.join('. ') }, status: 403 return end -- GitLab