Class: WebResourceBundler::Railtie

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

Class Method Summary collapse

Class Method Details

.insertObject



15
16
17
18
# File 'lib/web_resource_bundler/railtie.rb', line 15

def self.insert
  WebResourceBundler::Bundler.setup(Rails.root, Rails.env)
  ActionView::Base.send(:include, WebResourceBundler::RailsAppHelpers)
end