Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My profile - edit my details form view - WIP #62

Closed
wants to merge 5 commits into from

Conversation

helenzhou6
Copy link
Collaborator

Closes #35 and closes #37

// const auth = require('./auth');

router.get('/', home.get);

// MIDDLEWARE to ensure used is authenticated
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we start collecting middleware, we should modularise them.

// const auth = require('./auth');

router.get('/', home.get);

// MIDDLEWARE to ensure used is authenticated
function ensureAuthenticated(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.

we should es6 here

@helenzhou6 helenzhou6 changed the title Profile view complete My profile - edit my details form view - WIP May 11, 2018
@helenzhou6 helenzhou6 closed this May 11, 2018
@helenzhou6 helenzhou6 deleted the profile-view-complete branch May 11, 2018 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create handlebars profile view Create profile review endpoint route
3 participants