You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class PromosController < ApplicationController
def create
if !simple_captcha_valid?
flash[:error] = "Введен неверный код!"
redirect_to promo_path
return
end
......
end
end
simple-captcha/lib/simple_captcha/controller.rb
Line 20 in b145495
here params[:captcha] always nil, but params[:promocode][:captcha] is present.
The text was updated successfully, but these errors were encountered: