fleet/frontend/router/paths.js
Mike Stone 6b3a54ba79 handle disabled email in invite form (#994)
* Moves SmtpWarning to the components directory

* Renders base errors on invite user form

* Prevents add user and displays warning if smtp not configured

* Wait to render content until API calls finish
2017-01-17 16:50:40 -05:00

17 lines
391 B
JavaScript

export default {
ADMIN_DASHBOARD: '/admin',
ADMIN_SETTINGS: '/admin/settings',
ALL_PACKS: '/packs/all',
EDIT_QUERY: (query) => {
return `/queries/${query.id}`;
},
FORGOT_PASSWORD: '/login/forgot',
HOME: '/',
LOGIN: '/login',
LOGOUT: '/logout',
MANAGE_HOSTS: '/hosts/manage',
NEW_PACK: '/packs/new',
NEW_QUERY: '/queries/new',
RESET_PASSWORD: '/login/reset',
};