const path = require('path');
const AuthController = require(path.resolve(process.env.ROOT_PATH, './controllers/AuthController.js'));
const router = require('express').Router();

router.post('/register', AuthController.register);
router.post('/activate', AuthController.activate);
router.get('/register', AuthController.registerView);
router.get('/activate', AuthController.activateView);

module.exports = router;