'stylesheet_link_tag assets directory in Rails 4

I just started to develop in Ruby On Rails and I can not solve this problem: when I use the helper stylesheet_link_tag in the file / app / view / layouts / application.html.erb I can only reach the css file in / app / assets / stylesheets, but if I wanted to include some css files that are not found in that directory but in / app / assets / example, for example, how could I do (always using the helper stylesheet_link_tag)?

I tried to look at other pages of the forum on this topic but they were not helpful, I hope that by being more specific someone can help me ...



Solution 1:[1]

<%= stylesheet_link_tag "example/file" %> should work for stylesheets located in /app/assets/example. See Rails docs.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 zwippie