aboutsummaryrefslogtreecommitdiff
path: root/src/post/routes.go
diff options
context:
space:
mode:
authorAlexander Kavon <me+git@alexkavon.com>2024-01-25 02:47:26 -0500
committerAlexander Kavon <me+git@alexkavon.com>2024-01-25 02:47:26 -0500
commit60eb2e7fe5ed3627ad4bd40286df1741529da75b (patch)
treef18d8bbbc3590183333778a4e96bebff187366b2 /src/post/routes.go
parent60fd8a68ed87cd7352b490e88ceff3ec21855937 (diff)
update hooks to more identifiable names, update migrations to work with votes, use a common enum state typeHEADtrunk
Diffstat (limited to 'src/post/routes.go')
-rw-r--r--src/post/routes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/post/routes.go b/src/post/routes.go
index 7714920..9726d05 100644
--- a/src/post/routes.go
+++ b/src/post/routes.go
@@ -14,6 +14,10 @@ import (
"gitlab.com/alexkavon/newsstand/src/sessions"
)
+func init() {
+ InitInsertHooks()
+}
+
var Routes = server.Routes{
server.Route{
Name: "Create",