summaryrefslogtreecommitdiff
path: root/lib/okpush/index.js
diff options
context:
space:
mode:
authorstone <jules+okfprojz@okfoc.us>2017-09-23 16:01:40 -0400
committerstone <jules+okfprojz@okfoc.us>2017-09-23 16:01:40 -0400
commit20544c056ad5e8a03ce61061028194a4ce501a76 (patch)
tree44c9c48f1f60cef67da49c809d042926bbd7f01b /lib/okpush/index.js
parenta535ce2d8ec540f9c2d263e3c52d6c95d8251a75 (diff)
parentfc8e58d8dc7edcfc7786ae6a2633adf19411eddb (diff)
Merge branch 'cms' of ghghgh.us:stone-island into cms
Diffstat (limited to 'lib/okpush/index.js')
-rw-r--r--lib/okpush/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/okpush/index.js b/lib/okpush/index.js
index 08ab15ae..49fc5363 100644
--- a/lib/okpush/index.js
+++ b/lib/okpush/index.js
@@ -94,6 +94,10 @@ function OKPush (options) {
})
router.get('/new', function (req, res) {
+ var data = {
+ meta: meta,
+ notifications: config.notifications,
+ }
templates['new'].render(data).then(function(rendered) {
res.send(rendered);
}).fail(error(req, res, 500))