From 9ab5879d6a5a2220e31c45c62c1a9ad179211df6 Mon Sep 17 00:00:00 2001 From: Thiago Almeida Date: Thu, 9 Jan 2014 17:34:58 -0300 Subject: [PATCH 1/2] change url ref /pad to p/pad, solving this problem --- templates/pads.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/pads.html b/templates/pads.html index 4a0ba40..89d789b 100644 --- a/templates/pads.html +++ b/templates/pads.html @@ -14,10 +14,10 @@

Pads

- \ No newline at end of file + From 9df257a865904a981cbff35b4acbffd30914d630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20Morel?= Date: Mon, 2 Feb 2015 11:38:46 +0100 Subject: [PATCH 2/2] Add relative path in index.js and pads list --- index.js | 2 +- templates/pads.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 798b0ca..d2c64a2 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { } exports.indexWrapper = function (hook_name, args, cb) { - args.content = args.content + '

All Pads
'; + args.content = args.content + '

All Pads
'; return cb(); } diff --git a/templates/pads.html b/templates/pads.html index 89d789b..3e31b7c 100644 --- a/templates/pads.html +++ b/templates/pads.html @@ -14,7 +14,7 @@

Pads