fleet/website/api/controllers/view-support.js
Eric 11587ef9e2
Website: add /support page (#12457)
Closes: #12183
Changes:
- Added a /support page.
- Updated routes, policies, and importer
- Updated the header navigation to have a link to the support page.
- Updated docs pages to link to the support page.

---------

Co-authored-by: Mike Thomas <[email protected]>
Co-authored-by: Mike Thomas <[email protected]>
2023-06-23 18:06:04 -05:00

27 lines
258 B
JavaScript
Vendored

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