|
|
@@ -540,13 +540,13 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
}, adminReq) |
|
|
|
// ***** END: Admin ***** |
|
|
|
|
|
|
|
//operationReq := context.Toggle(&context.ToggleOptions{SignInRequired: true, OperationRequired: true}) |
|
|
|
operationReq := context.Toggle(&context.ToggleOptions{SignInRequired: true, OperationRequired: true}) |
|
|
|
|
|
|
|
// ***** START: Operation ***** |
|
|
|
m.Group("/operation", func() { |
|
|
|
m.Get("/config/recommend_org", operation.Organizations) |
|
|
|
m.Post("/config/recommend_org", bindIgnErr(operation.OrgInfos{}), operation.UpdateRecommendOrganizations) |
|
|
|
}) |
|
|
|
}, operationReq) |
|
|
|
// ***** END: Operation ***** |
|
|
|
|
|
|
|
m.Group("", func() { |
|
|
|