added new route
This commit is contained in:
parent
ac261d42c6
commit
f6d870bb5e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue