Class: SocialButterfly::Hooks
- Inherits:
-
Object
- Object
- SocialButterfly::Hooks
- Defined in:
- lib/social_butterfly/hooks.rb
Class Method Summary collapse
Class Method Details
.init! ⇒ Object
3 4 5 6 7 |
# File 'lib/social_butterfly/hooks.rb', line 3 def self.init! ActiveSupport.on_load(:action_view) do ::ActionView::Base.send :include, SocialButterfly::Rails::ActionViewExtension end end |