Update UrlGenerator.php

Whoops...Sorry... I think this should be okay...  Now let me  Inject the config into the constructor from the service provider..