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

Method APP

controllers/StaticController.go:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (this *StaticController) APP() {
28 link := strings.TrimSpace(models.GetOptionValue("APP_PAGE", ""))
29 if link != "" {
30 this.Redirect(link, 302)
31 }
32 this.Abort("404")
33}
34
35func (this *StaticController) Test() {
36 // fmt.Println(models.NewBook().Export2Markdown("4b98937398e612778711608a3d09a9c4"))

Callers

nothing calls this directly

Calls 1

GetOptionValueFunction · 0.92

Tested by

no test coverage detected