new leanote router for leanote's api

/api/user/info => convert it to ApiUser.Info()
This commit is contained in:
life
2014-09-18 00:28:23 +08:00
parent 76a111c6b0
commit 65e84d30db
3 changed files with 98 additions and 1 deletions

View File

@ -16,7 +16,8 @@ func init() {
// Filters is the default set of global filters.
revel.Filters = []revel.Filter{
revel.PanicFilter, // Recover from panics and display an error page instead.
revel.RouterFilter, // Use the routing table to select the right Action
RouterFilter,
// revel.RouterFilter, // Use the routing table to select the right Action
// AuthFilter, // Invoke the action.
revel.FilterConfiguringFilter, // A hook for adding or removing per-Action filters.
revel.ParamsFilter, // Parse parameters into Controller.Params.