this enhancer is responsible for determining the ``_controller`` based on the entity that was matched in the route provider