Skip to content

Commit 30b3c78

Browse files
committed
fix: use correct controller function name for route
1 parent 744ecb2 commit 30b3c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ app.get('/', routes.index);
5454
app.get('/login', routes.login);
5555
app.post('/login', routes.loginHandler);
5656
app.get('/admin', routes.isLoggedIn, routes.admin);
57-
app.get('/account_details', routes.isLoggedIn, routes.account_details);
57+
app.get('/account_details', routes.isLoggedIn, routes.get_account_details);
5858
app.post('/account_details', routes.isLoggedIn, routes.save_account_details);
5959
app.get('/logout', routes.logout);
6060
app.post('/create', routes.create);

0 commit comments

Comments
 (0)