Replace $baseRouteName to $baseRoutePattern

In my project I used $baseRoutePattern and worked. With $baseRouteName didn't work.