Implemented request validation in a filter

This commit is contained in:
Deluan
2016-02-24 20:21:51 -05:00
parent 93f115d8e4
commit ee04b72db1
6 changed files with 9 additions and 13 deletions
-1
View File
@@ -9,7 +9,6 @@ type GetLicenseController struct{ beego.Controller }
// @router /rest/getLicense.view [get]
func (this *GetLicenseController) Get() {
validate(this)
response := responses.NewXML(&responses.License{Valid: true})
this.Ctx.Output.Body(response)
}