summaryrefslogtreecommitdiff
path: root/lib/okpush/index.js
diff options
context:
space:
mode:
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))