Add URL and code to :not_found errors