Mongrel dev server and custom subdirectories within ./public

Everyone -

I’m trying to add some theme support for my application and started
creating a logical directory structure under public -

/public/themes/custom/my_theme_name/.css
/public/themes/custom/my_theme_name/images/

etc etc. Looks good on paper.

But when I run a development mongrel server to test things out, it
tries to run my included css stylesheets through the routing engine.
Is there any way I can set mongrel up in a way where it won’t do that?
Has anyone had this happen to them before?

Example:


Routing Error
Recognition failed for “/stylesheets/themes/c/green/styles.css”

Thanks!

  • J

Guys - I’m a knucklehead. I had the path set completely wrong. Please
disregard my question :-/

Let this be a warning - don’t drink (too much caffeine) and code!

  • J

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs