Skip to content

Commit

Permalink
fix: use correct controller function name for route
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Jun 15, 2021
1 parent 744ecb2 commit 30b3c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ app.get('/', routes.index);
app.get('/login', routes.login);
app.post('/login', routes.loginHandler);
app.get('/admin', routes.isLoggedIn, routes.admin);
app.get('/account_details', routes.isLoggedIn, routes.account_details);
app.get('/account_details', routes.isLoggedIn, routes.get_account_details);
app.post('/account_details', routes.isLoggedIn, routes.save_account_details);
app.get('/logout', routes.logout);
app.post('/create', routes.create);
Expand Down

0 comments on commit 30b3c78

Please sign in to comment.