mindoc/controllers/ErrorController.go
2018-03-24 22:36:35 +08:00

18 lines
287 B
Go

package controllers
type ErrorController struct {
BaseController
}
func (c *ErrorController) Error404() {
c.TplName = "errors/404.tpl"
}
func (c *ErrorController) Error403() {
c.TplName = "errors/403.tpl"
}
func (c *ErrorController) Error500() {
c.TplName = "errors/error.tpl"
}