var emojisController = require('../controllers/emojiController');

module.exports = function(app){
  app.route('/')
    .get(emojisController.getAll)
    .post(emojisController.checkCreator, emojisController.createEmoji);
};
Add GET and POST for root router to emojiRoutes