harbor/controllers/repository.go
2016-06-28 23:42:05 +08:00

15 lines
326 B
Go

package controllers
import "os"
// RepositoryController handles request to /repository
type RepositoryController struct {
BaseController
}
// Get renders repository page
func (rc *RepositoryController) Get() {
rc.Data["HarborRegUrl"] = os.Getenv("HARBOR_REG_URL")
rc.Forward("page_title_repository", "repository.htm")
}