fleet/website/api/controllers/view-partners.js
Eric b9a53136bf
Website: Add partners page. (#42866)
Changes:
- Added a new action `deliver-partner-registration-submission`
- Added a new page: `/partners` A page where users can submit a form to
register as a partner (reseller or integrations) or register a deal
- Updated `deliver-deal-registration-submission` to work with the new
form.
- Removed the route for the `/deals` page, and added a redirect to the
/partners page.
- Added a new email template `email-partner-registration`
- Added fake template data to the email tempalte preview tool's view
action for the new/updated email templates.

---------

Co-authored-by: Mike Thomas <[email protected]>
2026-04-02 15:58:30 +09:00

27 lines
261 B
JavaScript
Vendored

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