Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- //export by default
- module.exports = function (app) {
- // grab
- var strain = require('../controllers/Strain');
- var siteRoot = require('../routes/root');
- // Site Index
- app.use('/', siteRoot);
- // Strains
- app.route('/strains')
- .get(strain.getAllItems);
- }
Add Comment
Please, Sign In to add comment