From 87453bd7afda3fc0ef90f22b6e28844b6ec54529 Mon Sep 17 00:00:00 2001 From: jysperm Date: Mon, 13 Oct 2014 03:06:36 +0800 Subject: [PATCH] fixbug in rpvhost --- plugin/rpvhost/index.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/rpvhost/index.coffee b/plugin/rpvhost/index.coffee index ea97874..b55ec8e 100644 --- a/plugin/rpvhost/index.coffee +++ b/plugin/rpvhost/index.coffee @@ -24,4 +24,5 @@ exports.registerHook 'view.pay.display_payment_details', order_id: deposit_log.payload.order_id app.get '/', renderAccount, (req, res) -> - res.render path.join(__dirname, './view/index') + exports.render 'index', req, {}, (html) -> + res.send html