aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/templates/articles/partials/favorite-button.tmpl
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:49:16 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-02-11 17:49:16 +0530
commitc720f1f85e5ec7c93604462b7a70e1f84a1ce244 (patch)
tree6e994a84d2f1b241c31f54e2a2eeca00795faf77 /cmd/web/templates/articles/partials/favorite-button.tmpl
parentd7d066cfa1cd16dd502000077696388043c4dab9 (diff)
Substituted 'article' with 'project'
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"