debian-mirror-gitlab/app/assets/javascripts/crm/organizations/routes.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
462 B
JavaScript
Raw Normal View History

2022-06-21 17:19:12 +05:30
import { INDEX_ROUTE_NAME, NEW_ROUTE_NAME, EDIT_ROUTE_NAME } from '../constants';
import OrganizationFormWrapper from './components/organization_form_wrapper.vue';
2022-01-26 12:08:38 +05:30
export default [
{
name: INDEX_ROUTE_NAME,
path: '/',
},
{
name: NEW_ROUTE_NAME,
path: '/new',
2022-06-21 17:19:12 +05:30
component: OrganizationFormWrapper,
2022-01-26 12:08:38 +05:30
},
{
name: EDIT_ROUTE_NAME,
path: '/:id/edit',
2022-06-21 17:19:12 +05:30
component: OrganizationFormWrapper,
props: { isEditMode: true },
2022-01-26 12:08:38 +05:30
},
];