Still working through messages and notifications.
This commit is contained in:
@@ -66,8 +66,8 @@ func RegisterAccountRoutes(app *bootstrap.App) {
|
||||
messages.Use(middleware.AuthMiddleware(), middleware.RequireAuth())
|
||||
{
|
||||
messages.GET("/", msgH.List)
|
||||
messages.GET("/add", msgH.AddGet)
|
||||
messages.POST("/add", msgH.AddPost)
|
||||
messages.GET("/send", msgH.SendGet)
|
||||
messages.POST("/send", msgH.SendPost)
|
||||
messages.GET("/archived", msgH.ArchivedList) // renders archived.html
|
||||
messages.GET("/:id", msgH.ReadGet) // renders read.html
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user