Welcome to mirror list, hosted at ThFree Co, Russian Federation.

routes.js « organizations « crm « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85bd3b32877ce3efa3ae8ac57e44be18121525b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { INDEX_ROUTE_NAME, NEW_ROUTE_NAME, EDIT_ROUTE_NAME } from '../constants';
import OrganizationFormWrapper from './components/organization_form_wrapper.vue';

export default [
  {
    name: INDEX_ROUTE_NAME,
    path: '/',
  },
  {
    name: NEW_ROUTE_NAME,
    path: '/new',
    component: OrganizationFormWrapper,
  },
  {
    name: EDIT_ROUTE_NAME,
    path: '/:id/edit',
    component: OrganizationFormWrapper,
    props: { isEditMode: true },
  },
];