Module: SoaringSimpleCaptcha::FormBuilder
- Defined in:
- lib/soaring_simple_captcha/form_builder.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/soaring_simple_captcha/form_builder.rb', line 3 def self.included(base) base.send(:include, SoaringSimpleCaptcha::ViewHelper) base.send(:include, SoaringSimpleCaptcha::FormBuilder::ClassMethods) base.send(:include, ActionView::Helpers) if defined? Sprokets base.send(:include, Sprockets::Helpers::RailsHelper) base.send(:include, Sprockets::Helpers::IsolatedHelper) end base.delegate :render, :session, :to => :template end |