I came across this blog
entry on how to organize stylesheets in Rails. At first I was skeptical, but soon ran into a situation where Peter's suggestion really works well. I had to adapt a few things so that it works with Rails 2.0.x. But overall, I am sold!
2 comments:
What exactly did you have to change in the code to get it working for rails 2.1? I can't seem to get the stylesheets to load from the /public/stylesheets/#{controller_name}/#{action_name} directory. Any feedback would be appreciated.
Ahmed,
Please take a look at this blog entry. Thanks for reading.
Post a Comment