added new route

This commit is contained in:
Mario Colque 2014-01-08 11:55:24 -03:00
parent ac261d42c6
commit f6d870bb5e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module.exports = function(app) {
//Block routes
var blocks = require('../app/controllers/blocks');
app.get('/blocks', blocks.list);
app.get('/api/blocks', blocks.list);
app.get('/block/:blockHash', blocks.show);
app.param('blockHash', blocks.block);
app.get('/last_blocks', blocks.last_blocks);