Merge pull request #947 from BobRazoswki/master

README: Change require syntax in RoR section
This commit is contained in:
Gleb Mazovetskiy 2015-09-02 22:30:45 +01:00
Родитель 8cd2bf8e01 bb9d03d750
Коммит f1d9a24118
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -44,9 +44,9 @@ it may come with a `.css` file instead. If this file exists, it will be served i
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
```
Then, remove all the `//= require` and `//= require_tree` statements from the file. Instead, use `@import` to import Sass files.
Then, remove all the `*= require_self` and `*= require_tree .` statements from the sass file. Instead, use `@import` to import Sass files.
Do not use `//= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
Do not use `*= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
Require Bootstrap Javascripts in `app/assets/javascripts/application.js`: