Uses invisible_captcha's default "foo fast" action

This commit is contained in:
kikito
2016-04-28 12:47:04 +02:00
parent 8bcbe86064
commit 9ac6e2d60b
11 changed files with 10 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ class ProposalsController < ApplicationController
before_action :load_geozones, only: [:edit, :map, :summary]
before_action :authenticate_user!, except: [:index, :show, :map, :summary]
invisible_captcha only: [:create, :update], honeypot: :subtitle, on_timestamp_spam: :redirect_timestamp_spam
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