added 404 tpl, fix for 404 on topics, continuing refactor - categories

This commit is contained in:
psychobunny
2013-05-23 16:53:19 -04:00
parent 8f281e9792
commit c785f06367
4 changed files with 156 additions and 126 deletions

View File

@@ -71,7 +71,7 @@ var express = require('express'),
// Basic Routes (entirely client-side parsed, goal is to move the rest of the crap in this file into this one section)
(function() {
var routes = ['', 'login', 'register', 'account', 'latest', 'popular', 'active', '403'];
var routes = ['', 'login', 'register', 'account', 'latest', 'popular', 'active', '403', '404'];
for (var i=0, ii=routes.length; i<ii; i++) {
(function(route) {