aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/feed_icon.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/feed_icon.go')
-rw-r--r--ui/feed_icon.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/feed_icon.go b/ui/feed_icon.go
index 63aa050..4b5f30f 100644
--- a/ui/feed_icon.go
+++ b/ui/feed_icon.go
@@ -13,10 +13,9 @@ import (
"miniflux.app/http/response/html"
)
-// ShowIcon shows the feed icon.
-func (c *Controller) ShowIcon(w http.ResponseWriter, r *http.Request) {
+func (h *handler) showIcon(w http.ResponseWriter, r *http.Request) {
iconID := request.RouteInt64Param(r, "iconID")
- icon, err := c.store.IconByID(iconID)
+ icon, err := h.store.IconByID(iconID)
if err != nil {
html.ServerError(w, r, err)
return