Unified endpoint to update and add reply.
This commit is contained in:
parent
c9de5b9e18
commit
fbededb796
@ -69,8 +69,7 @@ func main() {
|
||||
srv.DELETE("/guestbook/admin/entry/:id", hand.GuestbookAdminDeleteEntry)
|
||||
srv.POST("/guestbook/admin/entry/:id", hand.GuestbookAdminUpdateEntry)
|
||||
srv.DELETE("/guestbook/admin/reply/:id", hand.GuestbookAdminDeleteReply)
|
||||
srv.POST("/guestbook/admin/reply/:id", hand.GuestbookAdminUpdateReply)
|
||||
srv.POST("/guestbook/admin/reply/", hand.GuestbookAdminNewReply)
|
||||
srv.POST("/guestbook/admin/reply/", hand.GuestbookAdminReply)
|
||||
|
||||
srv.GET("/robots.txt", hand.Robots)
|
||||
srv.GET("/rss.xml", hand.RSS)
|
||||
|
Loading…
Reference in New Issue
Block a user