Sha256: a3556189b430f46a259eaa212e44d74aacbc1d56662737bea07a2b7510ccc85b

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

class RESTFramework::Engine < Rails::Engine
  initializer "rest_framework.assets" do
    config.after_initialize do |app|
      if RESTFramework.config.use_vendored_assets
        app.config.assets.precompile += RESTFramework::EXTERNAL_ASSETS.keys.map do |name|
          "rest_framework/#{name}"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest_framework-0.9.5 lib/rest_framework/engine.rb
rest_framework-0.9.4 lib/rest_framework/engine.rb
rest_framework-0.9.3 lib/rest_framework/engine.rb