resources 404 with a flash error message