Initial commit (code only without large binaries)
This commit is contained in:
14
EdgeAdmin/internal/web/actions/default/settings/helper.go
Normal file
14
EdgeAdmin/internal/web/actions/default/settings/helper.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package settings
|
||||
|
||||
import "github.com/iwind/TeaGo/actions"
|
||||
|
||||
type Helper struct {
|
||||
}
|
||||
|
||||
func NewHelper() *Helper {
|
||||
return &Helper{}
|
||||
}
|
||||
|
||||
func (this *Helper) BeforeAction(action *actions.ActionObject) {
|
||||
action.Data["teaMenu"] = "settings"
|
||||
}
|
||||
Reference in New Issue
Block a user