mirror of
https://github.com/acaloiaro/newsbox
synced 2026-07-21 10:12:26 +00:00
13 lines
249 B
Go
13 lines
249 B
Go
package actions
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gobuffalo/buffalo"
|
|
)
|
|
|
|
// HomeHandler is a default handler to serve up
|
|
// a home page.
|
|
func HomeHandler(c buffalo.Context) error {
|
|
return c.Render(http.StatusOK, r.HTML("home/index.plush.html"))
|
|
}
|