Sha256: 8c6c665cfe235ab3e116a103438c598523ae2bf72742a4f460e8f1314dccbdf0

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

require 'sassc-rails'

module SbAdmin2Rails
  class Engine < ::Rails::Engine
    initializer 'sb_admin_2_rails.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

2 entries across 2 versions & 1 rubygems

Version Path
sb_admin_2_rails-0.1.1 lib/sb_admin_2_rails/engine.rb
sb_admin_2_rails-0.1.0 lib/sb_admin_2_rails/engine.rb