Sha256: 7f86f0568b090f92ec4c90f8f1e88b047d7eca72177248cd272089ddffedbb44

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

require "rails"

module Adminlte
  module Generators
    class Engine < ::Rails::Engine
      config.app_generators.stylesheets false

      initializer 'adminlte-generators.setup', group: :all do |app|
        app.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts')

        app.config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/
      end

      config.app_generators do |g|
        g.templates.unshift File::expand_path('../../templates', __FILE__)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminlte-generators-0.2.3 lib/adminlte-generators.rb
adminlte-generators-0.2.2 lib/adminlte-generators.rb
adminlte-generators-0.2.1 lib/adminlte-generators.rb
adminlte-generators-0.2.0 lib/adminlte-generators.rb
adminlte-generators-0.1.2 lib/adminlte-generators.rb