Sha256: a982b3b8ec625dbc70682ab04f6cb8dfbd296940b564cad4aa59ba4f28125f95

Contents?: true

Size: 324 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
epaybg-0.1.2 lib/epaybg/railtie.rb