Sha256: a7317031f059e6bcbadb53a4a2eaa042193ba449953e6d72fb8b9b5f8e19797f
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 Bytes
Contents
# coding: utf-8 class RailsCaptcha::CaptchaController < RailsCaptcha::ApplicationController acts_as_captcha def captcha reset_captcha text = session[:captcha].blank? ? "" : session[:captcha] render :text => text end def load_captcha reset_captcha respond_to do |format| format.js end end end
Version data entries
9 entries across 9 versions & 1 rubygems