aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/favorite-button.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/templates/articles/partials/favorite-button.tmpl')
-rw-r--r--cmd/web/templates/articles/partials/favorite-button.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/templates/articles/partials/favorite-button.tmpl b/cmd/web/templates/articles/partials/favorite-button.tmpl
index 7d0f28a..f72a320 100644
--- a/cmd/web/templates/articles/partials/favorite-button.tmpl
+++ b/cmd/web/templates/articles/partials/favorite-button.tmpl
@@ -1,5 +1,5 @@
<button class="btn btn-outline-primary btn-sm {{ if .IsProjectFavorited }} active {{ end }} favorite-button"
- hx-post="/htmx/articles/{{ .Project.Slug }}/favorite"
+ hx-post="/htmx/projects/{{ .Project.Slug }}/favorite"
{{ if .IsOob }}
hx-swap-oob="outerHTML:.favorite-button"