aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 7e25243..aa2faf7 100644
--- a/main.go
+++ b/main.go
@@ -63,8 +63,8 @@ func main() {
app.All("/"+config.Key+"/", routes.AdminIndex)
app.Get("/"+config.Key+"/follow", routes.AdminFollow)
app.Post("/"+config.Key+"/addboard", routes.AdminAddBoard)
- app.Get("/"+config.Key+"/postnews", routes.AdminPostNews)
- app.Get("/"+config.Key+"/newsdelete", routes.AdminNewsDelete)
+ app.Get("/"+config.Key+"/newspost", routes.NewsPost)
+ app.Get("/"+config.Key+"/newsdelete", routes.NewsDelete)
app.All("/"+config.Key+"/:actor/follow", routes.AdminFollow)
app.Get("/"+config.Key+"/:actor", routes.AdminActorIndex)