...
|
...
|
@@ -14,7 +14,7 @@ func init() { |
|
|
web.NSRouter("/", &controllers.CycleController{}, "Put:UpdateCycle"),
|
|
|
web.NSRouter("/", &controllers.CycleController{}, "Delete:RemoveCycle"),
|
|
|
web.NSRouter("/:Id", &controllers.CycleController{}, "Get:GetCycle"),
|
|
|
web.NSRouter("/list", &controllers.CycleController{}, "Post:ListRuleRelCreator"),
|
|
|
web.NSRouter("/list", &controllers.CycleController{}, "Post:ListCycle"),
|
|
|
)
|
|
|
web.AddNamespace(ns)
|
|
|
} |
...
|
...
|
|