Properly extends ContactUs controller
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user