menu

SiteGenesis / Server-side JS / Source: app_storefront_controllers/cartridge/controllers/Resources.js

'use strict';

/**
 * Renders the home page.
 *
 * @module controllers/Resources
 */
var guard = require('~/cartridge/scripts/guard');
var ISML = require('dw/template/ISML');

/**
 * Renders template containing transient resources
 */
function loadTransient() {
    ISML.renderTemplate('resources/appresources_transient');
}

/** @see module:controllers/Resources-LoadTransient */
exports.LoadTransient = guard.ensure(['get'], loadTransient);

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.