Skip to content

Commit

Permalink
Updated redirector middleware for new account routes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Jul 18, 2018
1 parent 26b8192 commit 8311837
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/middleware/redirector.js
Expand Up @@ -5,7 +5,13 @@ var INDEX = '/';
var AUTH = '/auth';
var CONTACT = '/contact';
var TERMS = '/terms';
var DEVELOPERS = '/developers';
var UPDATES = '/updates';
var HELP = '/help';
// these routes should eventually be nested under help
// e.g. /help/formatting and /help/configuring...
var CONFIGURING = '/configuring';
var FORMATTING = '/formatting';
var PRIVACY = '/privacy';
var MAINTENANCE = '/maintenance';
var ACCOUNT = '/account';
Expand All @@ -15,7 +21,7 @@ var ENABLE = '/account/enable';
var LOGOUT = '/account/log-out';
var DISABLED = '/account/disabled';

var STATIC = [CONTACT, HELP, TERMS, PRIVACY];
var STATIC = [CONTACT, HELP, CONFIGURING, FORMATTING, TERMS, PRIVACY, UPDATES, DEVELOPERS];

module.exports = function (req, res, next) {

Expand Down

0 comments on commit 8311837

Please sign in to comment.