-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
first of all thanks for Essen 👍
This is not really a bug but I wanted to be sure that I didn't get this part wrong. At the moment there is no way to display the page name/id directly in the route right ?
I am using
e.Get("/pages", func(res essen.Response, req essen.Request) {
page := req.Req.URL.Query().Get("page")
var a Page
err := db.QueryRow("SELECT * FROM pages where page = ?", page).Scan(&a.Page, &a.Content, &a.Date)
this works with a route like /pages?page=about but not for /about
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels