Sha256: 84705a9d9d3d598239a4656dfd4fd4634bc6fd2e5785ee9b6537460fed2af31a

Contents?: true

Size: 315 Bytes

Versions: 8

Compression:

Stored size: 315 Bytes

Contents

require 'evergreen'
require 'rails'

module Evergreen
  if defined?(Rails::Engine)
    class Railtie < Rails::Engine
      initializer 'evergreen.config' do
        Evergreen.application = Rails.application
        Evergreen.root = Rails.root
        Evergreen.mounted_at = "/evergreen"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
evergreen-1.3.0 lib/evergreen/rails.rb
evergreen-1.2.0 lib/evergreen/rails.rb
evergreen-1.1.3 lib/evergreen/rails.rb
evergreen-1.1.2 lib/evergreen/rails.rb
evergreen-1.1.0 lib/evergreen/rails.rb
evergreen-1.0.1 lib/evergreen/rails.rb
evergreen-1.0.0 lib/evergreen/rails.rb
evergreen-1.0.0.rc lib/evergreen/rails.rb