I’ve created a view file, this view has some special styles.
I’ve created a custom css file in the assets folder and I want to load the css file only in thius specific view file.
Is it possible to achieve this?
I don’t want this css to be loaded in entire website.
One pitfall: if your stylesheet is app/assets/stylesheets, it’ll get picked up twice (once from the global stylesheet_link_tag :app, and then again from this one page).
The only workaround I found is to shove the file in some other location outside app/assets, but IDK if that’s the correct approach.