Welcome to mirror list, hosted at ThFree Co, Russian Federation.

engine.rb « bootstrap « lib - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 888c764b32f12b982c2a8d67f24e9a1aae178aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'autoprefixer-rails'

module Bootstrap
  module Rails
    class Engine < ::Rails::Engine
      initializer 'bootstrap.assets' do |app|
        %w(stylesheets javascripts).each do |sub|
          app.config.assets.paths << root.join('assets', sub).to_s
        end
      end
    end
  end
end