Renamed basePath to viewPrefix