Starts using invisible_captcha in the source code. Pending: tests, proper invisible_captcha gem in Gemfile
This commit is contained in:
@@ -11,6 +11,8 @@ class DebatesController < ApplicationController
|
||||
|
||||
feature_flag :debates
|
||||
|
||||
invisible_captcha only: [:create, :update], honeypot: :subtitle
|
||||
|
||||
has_orders %w{hot_score confidence_score created_at relevance}, only: :index
|
||||
has_orders %w{most_voted newest oldest}, only: :show
|
||||
|
||||
|
||||
Reference in New Issue
Block a user