17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
|
'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;
|