On Sun, Jul 5, 2009 at 4:52 PM, Jej <jejc-GANU6spQydw@public.gmane.org>
wrote:
>
>
> 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
>
> Jej
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---