so i’d like to do the following
map.connect ‘some/path’, :controller => ‘Foo’ if server.status == ‘404’
in other words:
if i get a 404 response, and a given path, i’d like to handle it by
returning my own content.
no- i don’t want a generic all-404 error page, i want to be able to
handle individual 404s. Where is this useful? For an address book
application where i don’t have photos of all the users, or similar.
anyone able to help?