leanote's api init
This commit is contained in:
@ -14,9 +14,6 @@ import (
|
|||||||
// "path"
|
// "path"
|
||||||
// "strconv"
|
// "strconv"
|
||||||
)
|
)
|
||||||
type User struct {
|
|
||||||
*revel.Controller
|
|
||||||
}
|
|
||||||
|
|
||||||
type ApiUser struct {
|
type ApiUser struct {
|
||||||
*revel.Controller
|
*revel.Controller
|
||||||
@ -28,9 +25,3 @@ func (c ApiUser) Info() revel.Result {
|
|||||||
return c.RenderTemplate("home/index.html");
|
return c.RenderTemplate("home/index.html");
|
||||||
// return nil;
|
// 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