Sha256: c157d001540d6ffa2eb6c0590036b9f01e76aab56600f774bb140afa8f86ca8d

Contents?: true

Size: 466 Bytes

Versions: 3

Compression:

Stored size: 466 Bytes

Contents

module ReallySimpleCaptcha
  class Railtie < Rails::Railtie
    initializer "really_simple_captcha.include_captcha_helpers" do
      ActionView::Base.send :include, Captcha::PlainCaptcha::ViewHelpers
      ActionController::Base.send :include, Captcha::PlainCaptcha::ControllerHelpers

      ActionView::Base.send :include, Captcha::ReverseCaptcha::ViewHelpers
      ActionController::Base.send :include, Captcha::ReverseCaptcha::ControllerHelpers
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
really_simple_captcha-0.1.2 lib/really_simple_captcha/railtie.rb
really_simple_captcha-0.1.1 lib/really_simple_captcha/railtie.rb
really_simple_captcha-0.1.0 lib/really_simple_captcha/railtie.rb