From 1e01aeb146e839c9e59aa2d5ddbb80f679d2ba20 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 17 May 2013 14:15:59 +0000 Subject: [PATCH] load the right route api --- modules/api/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/api/api.js b/modules/api/api.js index c339f22..88ed709 100644 --- a/modules/api/api.js +++ b/modules/api/api.js @@ -17,7 +17,7 @@ var api = function(dbot) { }); }); - res.render('api', { 'name': dbot.config.name, 'api': externalApi }); + res.render('api/api', { 'name': dbot.config.name, 'api': externalApi }); }); dbot.modules.web.app.get('/api/:module/:method', function(req, res) {