pass container to custom route