20 lines
381 B
Go
20 lines
381 B
Go
package policies
|
|
|
|
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
|
|
|
type IndexAction struct {
|
|
actionutils.ParentAction
|
|
}
|
|
|
|
func (this *IndexAction) Init() {
|
|
this.Nav("httpdns", "policy", "")
|
|
}
|
|
|
|
func (this *IndexAction) RunGet(params struct{}) {
|
|
this.RedirectURL("/httpdns/clusters")
|
|
}
|
|
|
|
func (this *IndexAction) RunPost(params struct{}) {
|
|
this.Success()
|
|
}
|