No route matches for public directory

Hi all,

Strange problem! I get this error when I try to access the public
directory (http://localhost:3000/stylesheets/):

Routing Error
No route matches “/stylesheets/” with {:method=>:get}

This occurs on a fresh rails 2.3.2 app. Any idea?

Jej

On Sun, Jul 5, 2009 at 4:52 PM, Jej [email protected] wrote:

This occurs on a fresh rails 2.3.2 app. Any idea?

Jej, you need to point to a physical file instead of a directory. For
example,

http://localhost:3000/stylesheets/<some_css_file>.css

Good luck,

-Conrad

So stupid I am :expressionless: Thanks a lot!

Jej

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