Sha256: 28d7478e4206f618f856e9bdecc8ac90ed7dd9eab710ed8ee503c79325002bb1

Contents?: true

Size: 456 Bytes

Versions: 21

Compression:

Stored size: 456 Bytes

Contents

require 'postageapp'
require 'postageapp/mailer' if defined?(ActionMailer)

class PostageApp::Railtie < Rails::Railtie
  
  config.after_initialize do
    PostageApp.configure do |config|
      config.framework    = "Rails #{::Rails.version}"  if defined?(::Rails.version)
      config.project_root = ::Rails.root                if defined?(::Rails.root)
      config.environment  = ::Rails.env                 if defined?(::Rails.env)
    end
  end
  
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
postageapp-1.0.24 lib/postageapp/rails/railtie.rb
postageapp-1.0.23 lib/postageapp/rails/railtie.rb
postageapp-1.0.22 lib/postageapp/rails/railtie.rb
postageapp-1.0.21 lib/postageapp/rails/railtie.rb
postageapp-1.0.20 lib/postageapp/rails/railtie.rb
postageapp-1.0.19 lib/postageapp/rails/railtie.rb
postageapp-1.0.18 lib/postageapp/rails/railtie.rb
postageapp-1.0.17 lib/postageapp/rails/railtie.rb
postageapp-1.0.16 lib/postageapp/rails/railtie.rb
postageapp-1.0.15 lib/postageapp/rails/railtie.rb
postageapp-1.0.14 lib/postageapp/rails/railtie.rb
postageapp-1.0.13 lib/postageapp/rails/railtie.rb
postageapp-1.0.12 lib/postageapp/rails/railtie.rb
postageapp-1.0.11 lib/postageapp/rails/railtie.rb
postageapp-1.0.10 lib/postageapp/rails/railtie.rb
postageapp-1.0.9 lib/postageapp/rails/railtie.rb
postageapp-1.0.8 lib/postageapp/rails/railtie.rb
postageapp-1.0.7 lib/postageapp/rails/railtie.rb
postageapp-1.0.6 lib/postageapp/rails/railtie.rb
postageapp-1.0.5 lib/postageapp/rails/railtie.rb