mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
add comment for source code
This commit is contained in:
parent
a1c20dd666
commit
1bbe14fc9e
@ -4,10 +4,12 @@ import (
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
// ErrorController handles beego error pages
|
||||
type ErrorController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
// Error404 renders the 404 page
|
||||
func (ec *ErrorController) Error404() {
|
||||
ec.Data["content"] = "page not found"
|
||||
ec.TplName = "404.tpl"
|
||||
|
Loading…
Reference in New Issue
Block a user