dubdiff/server/api/comparison/index.js
Adam Brown b49041db43 simplify interface
remove authentication, document management from front-end
2015-04-12 02:42:47 -04:00

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;