Sha256: cd408b3a18506faa1ca0c2eeb040af9b8469f0b542fac6bb08cd00ca2d900a9d
Contents?: true
Size: 521 Bytes
Versions: 8
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true module InvisibleCaptcha class Railtie < Rails::Railtie initializer 'invisible_captcha.rails_integration' do ActiveSupport.on_load(:action_controller) do include InvisibleCaptcha::ControllerExt extend InvisibleCaptcha::ControllerExt::ClassMethods end ActiveSupport.on_load(:action_view) do include InvisibleCaptcha::ViewHelpers ActionView::Helpers::FormBuilder.send :include, InvisibleCaptcha::FormHelpers end end end end
Version data entries
8 entries across 8 versions & 1 rubygems