debian-mirror-gitlab/app/assets/javascripts/crm/routes.js
2022-01-26 12:08:38 +05:30

16 lines
266 B
JavaScript

import { INDEX_ROUTE_NAME, NEW_ROUTE_NAME, EDIT_ROUTE_NAME } from './constants';
export default [
{
name: INDEX_ROUTE_NAME,
path: '/',
},
{
name: NEW_ROUTE_NAME,
path: '/new',
},
{
name: EDIT_ROUTE_NAME,
path: '/:id/edit',
},
];