last demo import - cleaned
This commit is contained in:
19
controllers/map.go
Normal file
19
controllers/map.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// MapController shows partners on a map
|
||||
type MapController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
// Get i
|
||||
func (c *MapController) Get() {
|
||||
|
||||
c.Data["Website"] = "beego.me"
|
||||
c.Data["Email"] = "astaxie@gmail.com"
|
||||
c.TplName = "map.tpl"
|
||||
c.EnableXSRF = false
|
||||
}
|
||||
Reference in New Issue
Block a user