Sha256: 8394f806317cf52d8ad6ef199d4ba2b460ccb0d16e80f51ec62c945dadc59f60

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

# Stub engine to integrate asset pipeline.
module Facades
  class Engine < Rails::Engine 
    
    require 'facades/helpers'
    require 'facades/builders/sprite'
    
    Facades::Builders::Sprite
    
    initializer 'facades assets' do |app|
      app.config.assets.instance_eval do
        register_mime_type 'image/png', '.png'
      end
    end
       
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facades-0.0.3 lib/facades/support/rails.rb