From 08fdc768b2a514f97b27436cd371f7c5fe2f8105 Mon Sep 17 00:00:00 2001 From: kikito Date: Wed, 5 Aug 2015 12:17:27 +0200 Subject: [PATCH] fix wrong merge with master --- app/controllers/debates_controller.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/controllers/debates_controller.rb b/app/controllers/debates_controller.rb index c49241ff8..2e3a07e3e 100644 --- a/app/controllers/debates_controller.rb +++ b/app/controllers/debates_controller.rb @@ -51,10 +51,4 @@ class DebatesController < ApplicationController def validate_ownership raise ActiveRecord::RecordNotFound unless @debate.editable_by?(current_user) end - - def verify_captcha? - return true unless recaptcha_keys? - verify_recaptcha(model: @debate) - end - end