Class: DecentExposure::Draper::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/decent_exposure-draper/railtie.rb,
lib/decent_exposure-draper/railtie.rb

Class Method Summary collapse

Class Method Details

.insertObject



14
15
16
# File 'lib/decent_exposure-draper/railtie.rb', line 14

def self.insert
  ActionController::Base.send(:include, DecentExposure::Draper)
end