A
A
Alexander Petrov2016-12-06 10:32:47
ruby
Alexander Petrov, 2016-12-06 10:32:47

How to set connection order in Ruby On Rails pipeline?

In general, I connect the style /assets/stylesheets/page.css
I also have a file /assetes/stylesheets/media/page.css
I want to display the media in a separate file.
In the main page.css file I write at the top of the file

/*
*= require media/page
*/

As a result, media.css is connected to the page first, and then page.css. How to make it so that page.css is included first and only then media.css ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Demidenko, 2016-12-06
@Dem1

*= require_self

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question