Properly extends ContactUs controller
This commit is contained in:
parent
8a0742d9a8
commit
91355f8903
@ -1,7 +1,10 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
var base = module.superModule;
|
||||||
var server = require('server');
|
var server = require('server');
|
||||||
|
|
||||||
|
server.extend(base);
|
||||||
|
|
||||||
// First, let's extend the ContactUs-Landing route
|
// First, let's extend the ContactUs-Landing route
|
||||||
// to add recaptcha data to the template view
|
// to add recaptcha data to the template view
|
||||||
server.append('Landing', function(req, res, next) {
|
server.append('Landing', function(req, res, next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user