diff --git a/handlers/syndicate.go b/handlers/syndicate.go
index 0584be5..51d1be5 100644
--- a/handlers/syndicate.go
+++ b/handlers/syndicate.go
@@ -38,7 +38,7 @@ func CreateSyndicateHandler(db *sql.DB) http.HandlerFunc {
helpers.SetFlash(w, r, "Syndicate created successfully")
}
- http.Redirect(w, r, "/account/syndicates", http.StatusSeeOther)
+ http.Redirect(w, r, "/syndicate", http.StatusSeeOther)
default:
helpers.RenderError(w, r, http.StatusMethodNotAllowed)
}
diff --git a/handlers/syndicate_invites.go b/handlers/syndicate_invites.go
index 42f5f8e..364b392 100644
--- a/handlers/syndicate_invites.go
+++ b/handlers/syndicate_invites.go
@@ -78,7 +78,7 @@ func AcceptInviteHandler(db *sql.DB) http.HandlerFunc {
} else {
helpers.SetFlash(w, r, "You have joined the syndicate")
}
- http.Redirect(w, r, "/syndicates", http.StatusSeeOther)
+ http.Redirect(w, r, "/syndicate", http.StatusSeeOther)
}
}
diff --git a/templates/syndicate/create.html b/templates/syndicate/create.html
index 6e41ac0..0349de4 100644
--- a/templates/syndicate/create.html
+++ b/templates/syndicate/create.html
@@ -20,7 +20,7 @@
- Cancel
+ Cancel
{{ end }}