Server.get('Show', consentTracking.consent, cache.applyDefaultCache, function (req,res,next){
Var Site = require('dw/system/Syte'');
Var pageMetaHelpter = require('*/cartridge/scripts/helpers/pageMetaHelper');
pageMetaHelpter.setPageMetaTags(req.pageMetaData, Site.current);
res.render('/home/homePage');
Missing code here
}, pageMetadata.computedPageMetadata);
The controller endpoint code snippet above does not work.
Which line of code should the developer use to replace line 6 and correct the problem?
Arletta
1 month agoToshia
2 months agoRobt
2 months agoMartina
2 months agoShaquana
2 months agoShanda
2 months agoMarti
4 months agoKris
4 months agoMarti
5 months agoGlendora
5 months agoNelida
5 months agoLilli
5 months ago