mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
most of the work for #1563
This commit is contained in:
@@ -138,6 +138,10 @@ function userRoutes(app, middleware, controllers) {
|
||||
|
||||
function groupRoutes(app, middleware, controllers) {
|
||||
app.get('/groups', middleware.buildHeader, controllers.groups.list);
|
||||
app.get('/api/groups', controllers.groups.list);
|
||||
|
||||
app.get('/groups/:name', middleware.buildHeader, controllers.groups.details);
|
||||
app.get('/api/groups/:name', controllers.groups.details);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user