|
|
|
@@ -987,10 +987,10 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Post("/create", reqRepoDatasetWriter, bindIgnErr(auth.CreateDatasetForm{}), repo.CreateDatasetPost) |
|
|
|
m.Get("/edit/:id", reqRepoDatasetWriter, repo.EditDataset) |
|
|
|
m.Post("/edit", reqRepoDatasetWriter, bindIgnErr(auth.EditDatasetForm{}), repo.EditDatasetPost) |
|
|
|
m.Get("/current_repo", reqRepoDatasetReader, repo.CurrentRepoDataset) |
|
|
|
m.Get("/my_datasets", reqRepoDatasetReader, repo.MyDatasets) |
|
|
|
m.Get("/public_datasets", reqRepoDatasetReader, repo.PublicDataset) |
|
|
|
m.Get("/my_favorite", reqRepoDatasetReader, repo.MyFavoriteDataset) |
|
|
|
m.Get("/current_repo", repo.CurrentRepoDataset) |
|
|
|
m.Get("/my_datasets", repo.MyDatasets) |
|
|
|
m.Get("/public_datasets", repo.PublicDataset) |
|
|
|
m.Get("/my_favorite", repo.MyFavoriteDataset) |
|
|
|
|
|
|
|
m.Group("/dirs", func() { |
|
|
|
m.Get("/:uuid", reqRepoDatasetReader, repo.DirIndex) |
|
|
|
|