[Rails] routing failures

Byron Saltysiak
2006-02-14T13:39:02Z

And it works if you go to /placements/list directly?

Do you have the html using relative paths?
(../../stylesheets/case_manager.css) or are you using the rails tags for
stylesheets?

- Byron

On 2/14/06, Craig White <craigwhite@azapple.com>
wrote:
>
> probably something really simple but I don''t understand.
>
> Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
>
> Anyway, I set the default route in routes.rb to be
>
>   map.connect '''', :controller =>
"placements", :action => ''list''
>
> which worked once I figured out apache...
>
> Anyway, now that I have done that, all attempts to access stuff inside
> the public directory fails (stylesheets, javascripts etc.) with this in
> the logs...
>
> ActionController::RoutingError (Recognition failed for
> "/stylesheets/case_manager.css"):
>
> (I don''t think I need to keep including more of these or the
traces).
>
> I would like to have it do the default route but if it breaks
> everything, that doesn''t make much sense...where am I going wrong?
>
> Thanks
>
> Craig
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



--
Byron
http://byron.saltysiak.com
-------------- next part --------------
An HTML attachment was scrubbed...