Added route-based view toggle for locations/create location view.