2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/ui/routes/index.js

17 lines
272 B
JavaScript
Raw Normal View History

2018-06-27 14:38:27 +00:00
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
}
];