From 91355f8903b8adc0656d40366f6d492a455302e8 Mon Sep 17 00:00:00 2001 From: Isaac Vallee Date: Wed, 22 Dec 2021 10:20:13 -0800 Subject: [PATCH] Properly extends ContactUs controller --- int_recaptcha/int_recaptcha/cartridge/controllers/ContactUs.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/int_recaptcha/int_recaptcha/cartridge/controllers/ContactUs.js b/int_recaptcha/int_recaptcha/cartridge/controllers/ContactUs.js index a5d19af..da04bd4 100644 --- a/int_recaptcha/int_recaptcha/cartridge/controllers/ContactUs.js +++ b/int_recaptcha/int_recaptcha/cartridge/controllers/ContactUs.js @@ -1,7 +1,10 @@ 'use strict'; +var base = module.superModule; var server = require('server'); +server.extend(base); + // First, let's extend the ContactUs-Landing route // to add recaptcha data to the template view server.append('Landing', function(req, res, next) {