Sha256: 7f9625aa5e66845b36f405b0a5397c44fad3ef87d0283c2c4493bb8cdc84d933
Contents?: true
Size: 324 Bytes
Versions: 4
Compression:
Stored size: 324 Bytes
Contents
require 'epaybg/view_helpers' module Epaybg class Railtie < Rails::Railtie initializer 'epaybg.view_helpers' do ActionView::Base.send :include, Epaybg::ViewHelpers end initializer 'epaybg.configure' do |app| Epaybg.config = YAML.load_file(app.root.join('config', 'epaybg.yml')) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
epaybg-1.0.0 | lib/epaybg/railtie.rb |
epaybg-0.3.1 | lib/epaybg/railtie.rb |
epaybg-0.3.0 | lib/epaybg/railtie.rb |
epaybg-0.2.0 | lib/epaybg/railtie.rb |