Rails 3.1 Asset Sort Type

I have reset.css' and added to app / assets / stylesheets, and application.css automatically includes it in my pages. but then I added a page controller, reset.css typed the last one.

Do I have any control in organizing my css directory in resources?

+6
source share
1 answer

You can change the loading order in application.css

/* *= require reset *= require_self *= require_tree . */ 
+10
source

Source: https://habr.com/ru/post/899910/


All Articles