1
0
Fork 0

Added empty GuestbookAdminUpdateReply() method.

This commit is contained in:
Alexander Andreev 2023-03-11 23:38:34 +04:00
parent 5d0d4e4034
commit 37aa09cf2e
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +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.GuestbookAdminReply)
srv.GET("/robots.txt", hand.Robots)

View File

@ -212,6 +212,9 @@ func (h *Handlers) GuestbookAdminDeleteReply(w http.ResponseWriter, r *http.Requ
}
}
func (h *Handlers) GuestbookAdminUpdateReply(w http.ResponseWriter, r *http.Request) {
}
func (h *Handlers) GuestbookAdminReply(w http.ResponseWriter, r *http.Request) {
r.ParseForm()