fleet/website/api/controllers/view-deals.js
Eric da3ad28f4c
Website: add deal registration page (#20667)
Closes: #19531

Changes:
- Added a deal registration page at /deals
- Added a new email template: `email-deal-registration`
- Added a new action to send the deal registration form submission to
the email address set in the `sails.config.custom.
dealRegistrationContactEmailAddress` config variable
- Updated the HTML email preview page to support the new email template.
2024-07-25 13:12:08 -05:00

27 lines
252 B
JavaScript
Vendored

module.exports = {
friendlyName: 'View deals',
description: 'Display "Deals" page.',
exits: {
success: {
viewTemplatePath: 'pages/deals'
}
},
fn: async function () {
// Respond with view.
return {};
}
};