expose basePath to View