Sha256: b95c67b7c7e8d876d630b8d65636d75e797a16f74b9fc4e9b2dc52a335b54d96
Contents?: true
Size: 660 Bytes
Versions: 6
Compression:
Stored size: 660 Bytes
Contents
module Vbax module BeckyThatcher class Engine < ::Rails::Engine initializer 'becky_thatcher.setup' do |app| app.config.assets.precompile += Dir.glob(config.root + 'app/assets/images/becky_thatcher/**/*').select{ |f| File.file? f }.map { |m| "becky_thatcher/" + File.path(m).split("becky_thatcher/").last } end initializer 'becky_thatcher.sass' do |app| # Set the sass load paths app.config.sass.load_paths << File.join(config.root, "lib","vbax", "sass") # Set the add becky_thatcher/lib/sass to assets path app.config.assets.paths << File.join(config.root, "lib","vbax", "sass") end end end end
Version data entries
6 entries across 6 versions & 1 rubygems