Added a reference to the global config variable to the routeMethod call.