diff options
author | atul-shimpi <shimpiatul@hotmail.com> | 2015-08-03 08:27:37 +0530 |
---|---|---|
committer | atul-shimpi <shimpiatul@hotmail.com> | 2015-08-03 08:27:37 +0530 |
commit | cbf178664d3a3ecd55ad127d2a92f120b244b950 (patch) | |
tree | 9d1b002e693070220457afd0bcb15db23d095ac8 /railties | |
parent | 31ee9c0036f691f9206da24af1ffd4695b7b157a (diff) | |
download | rails-cbf178664d3a3ecd55ad127d2a92f120b244b950.tar.gz rails-cbf178664d3a3ecd55ad127d2a92f120b244b950.tar.bz2 rails-cbf178664d3a3ecd55ad127d2a92f120b244b950.zip |
Inform user to add styles in correct location in application.css
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css b/railties/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css index 0cdd2788d0..7506c6d89e 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +++ b/railties/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css @@ -7,7 +7,8 @@ * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS - * files in this directory. It is generally better to create a new file per style scope. + * files in this directory. If you want to add any styles in this file, they should be added after the + * last require_* statement. It is generally better to create a new file per style scope. * *= require_tree . *= require_self diff --git a/railties/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css b/railties/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css index 0cdd2788d0..7506c6d89e 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +++ b/railties/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css @@ -7,7 +7,8 @@ * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS - * files in this directory. It is generally better to create a new file per style scope. + * files in this directory. If you want to add any styles in this file, they should be added after the + * last require_* statement. It is generally better to create a new file per style scope. * *= require_tree . *= require_self |