diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-11 17:49:16 +0530 |
commit | c720f1f85e5ec7c93604462b7a70e1f84a1ce244 (patch) | |
tree | 6e994a84d2f1b241c31f54e2a2eeca00795faf77 /cmd/web/templates/home/partials/article-favorite-button.tmpl | |
parent | d7d066cfa1cd16dd502000077696388043c4dab9 (diff) |
Substituted 'article' with 'project'
Diffstat (limited to 'cmd/web/templates/home/partials/article-favorite-button.tmpl')
-rw-r--r-- | cmd/web/templates/home/partials/article-favorite-button.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/templates/home/partials/article-favorite-button.tmpl b/cmd/web/templates/home/partials/article-favorite-button.tmpl index c26226a..341f458 100644 --- a/cmd/web/templates/home/partials/article-favorite-button.tmpl +++ b/cmd/web/templates/home/partials/article-favorite-button.tmpl @@ -1,5 +1,5 @@ <button class="btn btn-outline-primary btn-sm pull-xs-right {{ if .IsFavorited }} active {{ end }}" - hx-post="/htmx/home/articles/{{ .Slug }}/favorite" + hx-post="/htmx/home/projects/{{ .Slug }}/favorite" hx-swap="outerHTML" > <i class="ion-heart"></i> {{ .GetFavoriteCount }} |