Alex Rivera | Logout

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

Asked 2009-04-30T00:57:16.350
69

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, and nothing seems to work.

What do I need to do to enable external CSS files with a rails application? I'm new to rails, so forgive me if this is basic.

Edit
Report

1 Answer

2

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

answered 2009-04-30T02:40:08.083

Your Answer