Sha256: 8a72c90858577679c385d23a7639c0ea9297d0c86d0eb7f0247ca6c569efbe3c
Contents?: true
Size: 587 Bytes
Versions: 5
Compression:
Stored size: 587 Bytes
Contents
module Gentelella class Engine < ::Rails::Engine initializer :assets do |config| Rails.application.config.assets.precompile += %w{ gentelella.css } Rails.application.config.assets.precompile += %w{ gentelella.js } Rails.application.config.assets.precompile += %w{ *.js } # Rails.application.config.assets.paths << root.join("app", "assets", "images") end initializer 'gentelella.assets.precompile' do |app| %w(stylesheets javascripts).each do |sub| app.config.assets.paths << root.join('assets', sub).to_s end end end end
Version data entries
5 entries across 5 versions & 1 rubygems