Initial
This commit is contained in:
9
server/routes/helpRoutes.js
Normal file
9
server/routes/helpRoutes.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Router } from 'express';
|
||||
import { index, show } from '../controllers/helpController.js';
|
||||
import { requireAuth } from '../middleware/auth.js';
|
||||
|
||||
export const helpRoutes = Router();
|
||||
|
||||
// Searchable in-app help library for operators and API automation clients.
|
||||
helpRoutes.get('/', requireAuth, index);
|
||||
helpRoutes.get('/:id', requireAuth, show);
|
||||
Reference in New Issue
Block a user