Add raw, history file button, and other mirror fixes

This commit is contained in:
Unknwon committed 2014-10-11 18:02:48 -04:00
1 parent 17c1bc7383
commit 963354c5d7
21 files changed
+48 -212

No files matched your search

-6
View File
@@ -75,12 +75,6 @@ type Context struct {
}
}
// Query querys form parameter.
func (ctx *Context) Query(name string) string {
ctx.Req.ParseForm()
return ctx.Req.Form.Get(name)
}
// HasError returns true if error occurs in form validation.
func (ctx *Context) HasApiError() bool {
hasErr, ok := ctx.Data["HasError"]