diff --git a/controllers/addnew.go b/controllers/addnew.go index b7894050a..2bf6f1d57 100644 --- a/controllers/addnew.go +++ b/controllers/addnew.go @@ -7,10 +7,12 @@ import ( "github.com/vmware/harbor/utils/log" ) +// AddNewController handles requests to /add_new type AddNewController struct { BaseController } +// Get renders the add new page func (anc *AddNewController) Get() { sessionUserID := anc.GetSession("userId") anc.Data["AddNew"] = false