We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6567469 commit 8b29c20Copy full SHA for 8b29c20
templates/express/routes.js
@@ -23,7 +23,7 @@ module.exports = function(app) {
23
app.post('/api/session', session.login);
24
app.del('/api/session', session.logout);<% } %>
25
26
- // Default all other routes to use Angular Routing
+ // All other routes to use Angular routing in app/scripts/app.js
27
app.get('/partials/*', index.partials);
28
app.get('/*',<% if(mongoPassportUser) { %> middleware.setUserCookie,<% } %> index.index);
29
};
0 commit comments