summaryrefslogtreecommitdiff
path: root/server/lib/views
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/views')
-rw-r--r--server/lib/views/index.js5
-rw-r--r--server/lib/views/subscription.js1
2 files changed, 5 insertions, 1 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js
index 3326499..5f9088b 100644
--- a/server/lib/views/index.js
+++ b/server/lib/views/index.js
@@ -111,6 +111,11 @@ var views = module.exports = {
res.render('about/' + name)
return
}
+ if (name == "brochure") {
+ // TODO: fetch plans
+ res.render('about/' + name)
+ return
+ }
if (name == "about" || name == "index") {
res.render('about/' + name)
return
diff --git a/server/lib/views/subscription.js b/server/lib/views/subscription.js
index 77db1a0..ba54bb4 100644
--- a/server/lib/views/subscription.js
+++ b/server/lib/views/subscription.js
@@ -12,7 +12,6 @@ var subscription = module.exports = {
fields: {
user: "_id username displayName photo created_at updated_at last_seen created_ip last_ip",
- project: "_id name slug user_id privacy created_at updated_at",
},
defaults: {