function* mapTemplateParamToId(next) {
    if (this.params.id === config.get('legacyTemplateId') || this.params.id === 'default') {
        this.params.id = config.get('defaultTemplateId');
    }
    yield next;