ruby on rails - Relative URL with CSS Upgrade -


I am developing an application with Rail on Ruby, and I use Bootstrap to upgrade my CSS I am here.

My question is:

If I have the next URL link: link href = "css / bootstrap.css" rel = "stylesheet"

How can I re-define the URL relative to the project files?

I think putting the stylesheet in the following directory is best practice:

  apps / assets / stylesheet   

  stylesheet_link_tag 'name'   

But if you use Bootstrap If you are using, I recommend using excessive gems (for example). In this way, it will automatically handle the stylesheets and frameworks JavaScript.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -