Blame view

apps/3party/controllers/questionnaire.js 255 Bytes
OF1706 authored
1 2 3 4 5
'use strict';

const helpers = global.yoho.helpers;

const getQuestionnaire = (req, res) => {
yyq authored
6
    let id = req.params.id || '';
OF1706 authored
7
yyq authored
8
    res.redirect(helpers.urlFormat(`/3party/questionnaire/${id}`, null, 'm'));
OF1706 authored
9 10 11 12 13
};

module.exports = {
    getQuestionnaire
};