mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-25 08:58:50 +00:00
15 lines
305 B
Go
15 lines
305 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/mentos1386/zdravko/web/templates/components"
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
func (h *BaseHandler) Error404(c echo.Context) error {
|
|
return c.Render(http.StatusNotFound, "404.tmpl", &components.Base{
|
|
NavbarActive: nil,
|
|
Navbar: Pages,
|
|
})
|
|
}
|