예제 #1
0
func (controller *HomeController) GetInfo() mvc.ControllerInfoInterface {
	return mvc.NewToLowerControllerInfoExtracter(controller)
}
예제 #2
0
func (controller *HomeController) GetInfo() mvc.ControllerInfoInterface {
	controllerInfo := mvc.NewToLowerControllerInfoExtracter(controller)
	controllerInfo.ActionInfos["EditPost"].Method("POST").Action("edit")
	return controllerInfo
}
예제 #3
0
func (controller *HomeController) GetInfo() mvc.ControllerInfoInterface {
	controllerInfo := mvc.NewToLowerControllerInfoExtracter(controller)
	controllerInfo.ActionInfos["IndexPost"].Method("POST").Action(names.A.Home.Index)
	return controllerInfo
}