diff options
author | 2022-12-11 18:07:01 +0100 | |
---|---|---|
committer | 2022-12-12 19:41:30 -0800 | |
commit | ce35b46fee3c891e959d4e5376c26636e5eb90fc (patch) | |
tree | 3fe5bd9fef8884bee51771ca631473ab85c0ec01 /ui/ui.go | |
parent | e12c263fc9a662bdd8096534c84a006515288ce7 (diff) | |
download | v2-ce35b46fee3c891e959d4e5376c26636e5eb90fc.tar.gz v2-ce35b46fee3c891e959d4e5376c26636e5eb90fc.tar.zst v2-ce35b46fee3c891e959d4e5376c26636e5eb90fc.zip |
Add category feeds refresh
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -83,7 +83,9 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool) { uiRouter.HandleFunc("/category/create", handler.showCreateCategoryPage).Name("createCategory").Methods(http.MethodGet) uiRouter.HandleFunc("/category/save", handler.saveCategory).Name("saveCategory").Methods(http.MethodPost) uiRouter.HandleFunc("/category/{categoryID}/feeds", handler.showCategoryFeedsPage).Name("categoryFeeds").Methods(http.MethodGet) + uiRouter.HandleFunc("/category/{categoryID}/feeds/refresh", handler.refreshCategoryFeedsPage).Name("refreshCategoryFeedsPage").Methods(http.MethodGet) uiRouter.HandleFunc("/category/{categoryID}/entries", handler.showCategoryEntriesPage).Name("categoryEntries").Methods(http.MethodGet) + uiRouter.HandleFunc("/category/{categoryID}/entries/refresh", handler.refreshCategoryEntriesPage).Name("refreshCategoryEntriesPage").Methods(http.MethodGet) uiRouter.HandleFunc("/category/{categoryID}/entries/all", handler.showCategoryEntriesAllPage).Name("categoryEntriesAll").Methods(http.MethodGet) uiRouter.HandleFunc("/category/{categoryID}/edit", handler.showEditCategoryPage).Name("editCategory").Methods(http.MethodGet) uiRouter.HandleFunc("/category/{categoryID}/update", handler.updateCategory).Name("updateCategory").Methods(http.MethodPost) |