How do I use CSS with a ruby on rails application?

后端 未结 8 481
情书的邮戳
情书的邮戳 2020-12-01 04:00

How do I use CSS with RoR? When I link externally, I\'m never able to see the files. I cp\'d the .css file to every folder I could think of...views, controller, template, an

8条回答
  •  旧巷少年郎
    2020-12-01 04:52

    To add to the above, the most obvious place to add stylesheet_link_tag is in your global application layout - application.html.erb.

提交回复
热议问题