Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3.1 Asset StyleSheet sorting

i have 'reset.css' and added it to app/assets/stylesheets, and application.css automatically includes it in my every pages. but then I added 'pages' controller, the reset.css is bumped to last.

can i have some sort of control in organizing my css in assets directory?

like image 233
Marc Vitalis Avatar asked Oct 23 '11 13:10

Marc Vitalis


1 Answers

You can change loading order in application.css

/*
*= require reset
*= require_self
*= require_tree .
*/
like image 160
NARKOZ Avatar answered Sep 16 '22 18:09

NARKOZ