Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Bootstrap to asset pipeline

  • Loading branch information...
commit 9065e3aaa5e25907c24aaea528e0058193bec5c4 1 parent 4381cce
@dce dce authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/stat_board/engine.rb
View
6 lib/stat_board/engine.rb
@@ -1,5 +1,11 @@
module StatBoard
class Engine < ::Rails::Engine
isolate_namespace StatBoard
+
+ if Rails.version > "3.1"
+ initializer "StatBoard precompile hook" do |app|
+ app.config.assets.precompile += %w(stat_board/bootstrap.css)
+ end
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.