Class: Nacho::Hooks

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

Class Method Summary collapse

Class Method Details

.initObject



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

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