Created
May 1, 2012 06:41
-
-
Save ktkaushik/2565651 to your computer and use it in GitHub Desktop.
solution for asset precompilation of BootStrap when using the Gem
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
| # This should do it. | |
| config.assets.compile = [ Proc.new { |path| | |
| !File.extname(path).in?(['.js', '.css', '']) | |
| }, /(?:\/|\\|\A)application\.(css|js)$/ ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment