is there a way to replace unkown action error with a pretty 404 page ? I set the ErrorDocument 404 in .htaccess, however when someong goes to http://www.mysite.com/bogus i would like it to show a 404 error instead of just "Uknown action". Is this possible with a rescue or something? adam
on 2006-01-06 15:05
on 2006-01-06 18:27
Adam Denenberg wrote: > is there a way to replace unkown action error with a pretty 404 page ? [...] > Is this possible with a rescue or something? Your public/404.html will be shown in Production mode. The "Unknown action" is the more informative message you get in Development. To read more about how to do fancy things with errors and error messages check out <http://wiki.rubyonrails.com/rails/pages/HowtoConfi... .
on 2006-01-06 20:54
thanks you are indeed correct. -adam