summaryrefslogtreecommitdiff
path: root/server/lib/views.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/views.js')
-rw-r--r--server/lib/views.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/views.js b/server/lib/views.js
index 27b7446..b776582 100644
--- a/server/lib/views.js
+++ b/server/lib/views.js
@@ -36,6 +36,7 @@ views.editor = function (req, res) {
date: moment(req.project.updated_at).format("M/DD/YYYY"),
author: user.displayName,
authorlink: "/profile/" + user.username,
+ noui: !! (req.query.noui === '1'),
})
})
}
@@ -60,6 +61,7 @@ views.reader = function (req, res) {
date: moment(req.project.updated_at).format("M/DD/YYYY"),
author: user.displayName,
authorlink: "/profile/" + user.username,
+ noui: !! (req.query.noui === '1'),
})
})
}