Class: Panmind::Zendesk::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/panmind/zendesk/railtie.rb,
lib/panmind/zendesk/railtie.rb

Class Method Summary collapse

Class Method Details

.insertObject



17
18
19
20
# File 'lib/panmind/zendesk/railtie.rb', line 17

def self.insert
  ActionView::Base.instance_eval { include Panmind::Zendesk::Helpers }
  ActionDispatch::Routing::Mapper.instance_eval { include Panmind::Zendesk::Routing }
end