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

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, 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