Last active
January 1, 2016 16:49
-
-
Save vajradog/8173518 to your computer and use it in GitHub Desktop.
bootstrap-sass compatibility in Rails 4.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# As of Rails 4.0 we need to add a line to config/application.rb to make bootstrap-sass compatible with the asset pipeline | |
require File.expand_path('../boot', __FILE__) | |
. | |
. | |
. | |
module YourApp | |
class Application < Rails::Application | |
. | |
. | |
. | |
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif) #Add this line | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment