Sha256: ae20d32ecf3781cfa1c8dccd84f2181f44c9376ccfba4ccd2e897c552bb6f464

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

require 'everqueen'
require 'rails'

module Everqueen
  if defined?(Rails::Engine)
    class Railtie < Rails::Engine
      initializer 'everqueen.config' do
        Everqueen.assets_environment = Rails.application.assets
        Everqueen.apply_default_asset_paths!
        Everqueen.application = Rails.application
        Everqueen.root = Rails.root
        Everqueen.mounted_at = "/everqueen"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
everqueen-1.1.1 lib/everqueen/rails.rb
everqueen-1.1.0 lib/everqueen/rails.rb