...
|
...
|
@@ -17,6 +17,7 @@ func init() { |
|
|
web.NSRouter("/list", &controllers.TemplateController{}, "Post:ListTemplate"),
|
|
|
web.NSRouter("/list-enable", &controllers.TemplateController{}, "Post:ListEnableTemplate"),
|
|
|
web.NSRouter("/copy", &controllers.TemplateController{}, "Post:CopyTemplate"),
|
|
|
web.NSRouter("/state", &controllers.TemplateController{}, "Post:StateTemplate"),
|
|
|
)
|
|
|
web.AddNamespace(ns)
|
|
|
} |
...
|
...
|
|