summaryrefslogtreecommitdiff
path: root/server/lib/views/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/views/index.js')
-rw-r--r--server/lib/views/index.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js
index 8c3e63d..3326499 100644
--- a/server/lib/views/index.js
+++ b/server/lib/views/index.js
@@ -21,6 +21,7 @@ marked.setOptions({
var views = module.exports = {
staff: require('./staff'),
+ subscription: require('./subscription'),
editor_new: function (req, res) {
if (! req.user) {
@@ -88,13 +89,6 @@ var views = module.exports = {
},
home: function (req, res) {
- // while in development, blank homepage if not logged in
-/*
- if (! req.user) {
- res.send("<html></html>")
- return
- }
-*/
views_middleware.fetchProjects({ featured: true }, null, null, function(err, projects){
res.render('home', {
projects: projects || []