Sha256: 37aac49509f592f651f58f51e98d570f6d0d608e90cc15b587f5a6a1b7cdef8d

Contents?: true

Size: 354 Bytes

Versions: 9

Compression:

Stored size: 354 Bytes

Contents

require 'sandbox_assets/settings'

module SandboxAssets
  class Engine < Rails::Engine
    config.autoload_paths << File.expand_path("../lib/", __FILE__)
    config.sandbox_assets = Settings.new

    initializer "sandbox_assets" do |app|
      config = app.config.sandbox_assets
      app.config.assets.paths.concat config.assets_paths
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-sandbox-assets-0.1.3 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.1.2 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.1.1 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.1.0 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.0.5 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.0.4 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.0.3 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.0.2 lib/sandbox_assets/engine.rb
rails-sandbox-assets-0.0.1 lib/sandbox_assets/engine.rb