aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/users/partials/article-favorite-button.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/templates/users/partials/article-favorite-button.tmpl')
-rw-r--r--cmd/web/templates/users/partials/article-favorite-button.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/templates/users/partials/article-favorite-button.tmpl b/cmd/web/templates/users/partials/article-favorite-button.tmpl
index ffa4613..5a70718 100644
--- a/cmd/web/templates/users/partials/article-favorite-button.tmpl
+++ b/cmd/web/templates/users/partials/article-favorite-button.tmpl
@@ -1,5 +1,5 @@
<button class="btn btn-outline-primary btn-sm pull-xs-right {{ if .Project.IsFavorited }} active {{ end }}"
- hx-post="/htmx/users/articles/{{ .Project.Slug }}/favorite"
+ hx-post="/htmx/users/projects/{{ .Project.Slug }}/favorite"
{{ if .IsSelf }}
hx-swap="delete"