leanote's api init
This commit is contained in:
@ -14,9 +14,6 @@ import (
|
||||
// "path"
|
||||
// "strconv"
|
||||
)
|
||||
type User struct {
|
||||
*revel.Controller
|
||||
}
|
||||
|
||||
type ApiUser struct {
|
||||
*revel.Controller
|
||||
@ -27,10 +24,4 @@ func (c ApiUser) Info() revel.Result {
|
||||
Log("APIUser");
|
||||
return c.RenderTemplate("home/index.html");
|
||||
// return nil;
|
||||
}
|
||||
|
||||
func (c User) Info() revel.Result {
|
||||
Log("APIUser");
|
||||
return c.RenderTemplate("home/index.html");
|
||||
// return nil;
|
||||
}
|
Reference in New Issue
Block a user