diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-10-28 07:05:58 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-10-28 07:05:58 +0300 |
commit | 98d45eab2d96e55b61899fa958253baab696ec67 (patch) | |
tree | 2eb8a381ece6c25d7115996a051af20c836097d5 | |
parent | 452506d6be0827ca1451e3732ce6eec9f87ce547 (diff) | |
parent | 3810ecf53220708e1fae328557b6977ddd78ff66 (diff) |
Merge pull request #733 from duaconn/patch-1
Update README.md to move css information out of the js section
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,6 +37,8 @@ Import Bootstrap styles in `app/assets/stylesheets/application.css.scss`: @import "bootstrap"; ``` +`bootstrap-sprockets` must be imported before `bootstrap` for the icon fonts to work. + Make sure the file has `.css.scss` extension (or `.css.sass` for Sass syntax). If you have just generated a new Rails app, it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so remove it: @@ -62,8 +64,6 @@ When using [bootstrap-sass Bower package](#c-bower) in Rails, ensure [minimum Sa ::Sass::Script::Number.precision = [10, ::Sass::Script::Number.precision].max ``` -`bootstrap-sprockets` must be imported before `bootstrap` for the icon fonts to work. - #### Rails 3.2.x Rails 3.2 is [no longer maintained for bugfixes](http://guides.rubyonrails.org/maintenance_policy.html), and you should upgrade as soon as possible. |