Class: Shareable::Hooks

Inherits:
Object
  • Object
show all
Defined in:
lib/shareable/hooks.rb

Class Method Summary collapse

Class Method Details

.initObject


3
4
5
6
7
# File 'lib/shareable/hooks.rb', line 3

def self.init
  ActiveSupport.on_load(:action_view) do
    ::ActionView::Base.send :include, Shareable::ActionViewExtension
  end
end