The public/404.html will be shown whenever an url doesn''t match any
routes, so you should make that contain any friendly stuff you''d want
to display.
J.
On 6/24/05, alex black <enigma-16h2cdTTKgpzNNFeSAH1EA@public.gmane.org>
wrote:> I have a route which catches all unknown URIs and presents a friendly
> page
> i.e. /dsflkfsdlkj presents the static controller''s
''unknown'' method
> but /company/dfjhfdlkjfd (known controller, unknown method) presents an
> error
> where it should present my same ''page not found'' nice
page
>
> map.connect '':controller/:action/:id''
> map.connect "*", :controller => "static",:action
=> "unknown"
>
> any way I can do this easily?
>
> thanks!
>
> _alex
>
>
> --
> alex black, founder
> the turing studio, inc.
>
> 510.666.0074
> root-16h2cdTTKgpzNNFeSAH1EA@public.gmane.org
> http://www.turingstudio.com
>
> 2600 10th street, suite 635
> berkeley, ca 94710
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
http://johansorensen.com
http://theexciter.com