diff options
author | 2024-08-29 14:27:10 +0200 | |
---|---|---|
committer | 2024-09-02 21:23:17 -0700 | |
commit | 5c38688783fec13fb6e387547bc5176548394d29 (patch) | |
tree | fa3612335a11736d91eff4d4d989f7b4588a3b44 /internal/ui/ui.go | |
parent | e0850fc648241df00a574b736dfd609f074ad4d7 (diff) | |
download | v2-5c38688783fec13fb6e387547bc5176548394d29.tar.gz v2-5c38688783fec13fb6e387547bc5176548394d29.tar.zst v2-5c38688783fec13fb6e387547bc5176548394d29.zip |
feat: add button to show only starred entries per category
fixes #1468
Diffstat (limited to 'internal/ui/ui.go')
-rw-r--r-- | internal/ui/ui.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ui/ui.go b/internal/ui/ui.go index d6641c01..b0cbd57a 100644 --- a/internal/ui/ui.go +++ b/internal/ui/ui.go @@ -88,6 +88,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool) { 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}/entries/starred", handler.showCategoryEntriesStarredPage).Name("categoryEntriesStarred").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) uiRouter.HandleFunc("/category/{categoryID}/remove", handler.removeCategory).Name("removeCategory").Methods(http.MethodPost) |