mindoc/controllers/ErrorController.go

18 lines
287 B
Go
Raw Permalink Normal View History

2017-05-03 14:22:05 +08:00
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"
}