MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Banners

Method Banners

controllers/ManagerController.go:1072–1077  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1070}
1071
1072func (this *ManagerController) Banners() {
1073 this.Data["SeoTitle"] = "横幅管理"
1074 this.TplName = "manager/banners.html"
1075 this.Data["Banners"], _ = models.NewBanner().All()
1076 this.Data["IsBanner"] = true
1077}
1078
1079func (this *ManagerController) DeleteBanner() {
1080 id, _ := this.GetInt("id")

Callers

nothing calls this directly

Calls 2

NewBannerFunction · 0.92
AllMethod · 0.45

Tested by

no test coverage detected