Commit 0e278ae3 authored by astaxie's avatar astaxie

beego:format the admin print route

parent e38a23b3
......@@ -122,7 +122,9 @@ func listConf(rw http.ResponseWriter, r *http.Request) {
case "router":
fmt.Fprintln(rw, "Print all router infomation:")
for method, t := range BeeApp.Handlers.routers {
fmt.Fprintln(rw, "Method:", method)
fmt.Fprintln(rw)
fmt.Fprintln(rw)
fmt.Fprintln(rw, " Method:", method)
printTree(rw, t)
}
// @todo print routers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment