2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 12:10:06 +00:00
books/ui/routes/index.js
2018-06-27 20:08:27 +05:30

17 lines
272 B
JavaScript

import ListAndForm from '../pages/ListAndForm';
export default [
{
path: '/list/:doctype',
name: 'List',
component: ListAndForm,
props: true
},
{
path: '/edit/:doctype/:name',
name: 'Form',
component: ListAndForm,
props: true
}
];