Class: Panmind::Recaptcha::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Panmind::Recaptcha::Railtie
- Defined in:
- lib/panmind/recaptcha/railtie.rb,
lib/panmind/recaptcha/railtie.rb
Class Method Summary collapse
Class Method Details
.insert ⇒ Object
17 18 19 20 21 |
# File 'lib/panmind/recaptcha/railtie.rb', line 17 def self.insert ActionView::Base.instance_eval { include Helpers } ActionController::Base.instance_eval { include Controller } ActionController::TestCase.instance_eval { include TestHelpers } if Rails.env.test? end |