working on oauth

This commit is contained in:
Torkel Ödegaard
2014-10-07 15:54:38 -04:00
parent 2783196547
commit 450d242d5f
10 changed files with 280 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (ctx *Context) Handle(status int, title string, err error) {
ctx.HTML(status, "index")
}
func (ctx *Context) ApiError(status int, message string, err error) {
func (ctx *Context) JsonApiErr(status int, message string, err error) {
resp := make(map[string]interface{})
if err != nil {