Skip to content

Conversation

migsandia
Copy link

Me falto realizar el bonus pero los conceptos me han quedado.

res.render('auth/main');
});
// ---------------------Private--------------------//
router.get('/private', requireUser, (req, res, next) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

las rutas de private y main se podrían haber puesto en el archivo de la ruta de index

Copy link
Collaborator

@tawebbcn tawebbcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bastante bien, te recuerdo que se debería de hacer uso del 'use strict'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants