dubdiff/server/api/comparison/index.js

17 lines
347 B
JavaScript
Raw Normal View History

'use strict';
var express = require('express');
var controller = require('./comparison.controller');
var router = express.Router();
//router.get('/', controller.index);
router.get('/:id', controller.showComparison);
router.get('/wdiff/:id', controller.wdiffMarkdownComparison);
router.post('/', controller.create);
module.exports = router;