Module: Captcha::Action::ClassMethods

Defined in:
lib/captcha/action.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_captchaObject



9
10
11
12
13
14
# File 'lib/captcha/action.rb', line 9

def acts_as_captcha
  unless included_modules.include? InstanceMethods
    include InstanceMethods 
  end
  before_filter :assign_captcha
end