Sha256: 07f173849fc179c06991e51a096591b805fb782a5f2af7013c15786b781e1ba6

Contents?: true

Size: 626 Bytes

Versions: 2

Compression:

Stored size: 626 Bytes

Contents

module Bootstrap
  module BookingSync
    module Rails
      class Engine < ::Rails::Engine
        require 'bootstrap-sass'

        initializer 'bootstrap-bookingsync-sass.assets.precompile' do |app|
          %w(stylesheets javascripts fonts images).each do |sub|
            app.config.assets.paths << root.join('assets', sub).to_s
          end
          %w(eot svg ttf woff2).each do |format|
            app.config.assets.precompile << "bookingsync/bookingsync-smiles.#{format}"
            app.config.assets.precompile << "bookingsync/bookingsync-icons.#{format}"
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-3.0.0 lib/bootstrap/bookingsync/engine.rb
bootstrap-bookingsync-sass-2.0.0 lib/bootstrap/bookingsync/engine.rb