import EmberRouter from '@ember/routing/router'; import config from './config/environment'; const Router = EmberRouter.extend({ location: config.locationType, rootURL: config.rootURL }); Router.map(function () { this.route('login', function () { this.route('index', { path: '/' }); } ); this.route('error', function () { this.route('index', { path: '/' }); } ); this.route('choose-dealer', function () { this.route('index', { path: '/' }); } ); this.route('forgot-password', { path: "forgotpassword" }, function () { this.route('index', { path: '/' }); } ); this.route('home', function () { this.route('index', { path: '/' }); this.route('about', { path: '/about' }); } ); this.route('news-and-information', { path: "newsandinformation" }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail' }); } ); this.route('approval-input-configuration', { path: 'approvalinputconfiguration' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('approval-input-configuration-detail', { path: 'approvalinputconfigurationdetail/:id' }); this.route('approval-input-configuration-detail-action', { path: 'approvalinputconfigurationdetailaction/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('user-management', { path: 'usermanagement' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('inbox', function () { this.route('all', { path: '/all' }); this.route('approval-filter', { path: '/approvalfilter/:id' }); this.route('inbox-outstanding-filter', { path: '/outstandingfilter/:id' }); this.route('inbox-outstanding-dms', { path: '/inbox-outstanding-dms/:id' }); this.route('inbox-approval-dms', { path: '/inbox-approval-dms/:id' }); this.route('inbox-approval-hoyu', { path: '/inbox-approval-hoyu/:id' }); this.route('outstanding-transaction-dms', { path: '/outstanding-transaction-dms' }); this.route('outstanding-approval-dms', { path: 'outstanding-approval-dms' }); this.route('outstanding-approval-hoyu', { path: 'outstanding-approval-hoyu' }); } ); this.route('profile', { path: "profile" }, function () { this.route('index', { path: '/' }); } ); this.route('notification', { path: "notification" }, function () { this.route('index', { path: '/' }); } ); this.route('form', { path: 'form' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('field', { path: '/field/:id' }); } ); this.route('dealer', { path: 'dealer' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('branch', { path: 'branch' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('role-management', { path: 'rolemanagement' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('role-management-dealer', { path: '/rolemanagementdealer/:id' }); this.route('role-management-dealer-branch', { path: '/rolemanagementdealerbranch/:id' }); } ); this.route('karoseri-type', { path: 'karoseritype' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('municipality', { path: 'municipality' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('religion', { path: 'religion' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('sub-district', { path: 'subdistrict' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('tittle', { path: 'tittle' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('village', { path: 'village' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('address-type', { path: 'addresstype' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('business-segment', { path: 'businesssegment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('category-uio', { path: 'categoryuio' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('color', { path: 'color' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('country', { path: 'country' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('fuel-type', { path: 'fueltype' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('gender', { path: 'gender' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('id-type', { path: 'idtype' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('karoseri', { path: 'karoseri' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('account-management', { path: 'accountmanagement' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('create-customer', { path: '/createcustomer' }); this.route('create-address', { path: '/createaddress' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('detailprofile', { path: '/detailprofile/:id' }); this.route('filter', { path: '/filter' }); this.route('account-address', { path: '/accountaddress/:id' }); this.route('account-contact', { path: '/accountcontact/:id' }); this.route('account-team', { path: '/accountteam/:id' }); this.route('account-customer-uio', { path: '/accountcustomeruio/:id' }); } ); this.route('vehicle-management', { path: 'vehiclemanagement' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('vehicle-bast', { path: '/vehiclebast/:id' }); this.route('vehicle-warranty', { path: '/vehiclewarranty/:id' }); this.route('vehicle-work-order', { path: '/vehicleworkorder/:id' }); this.route('hoyu-faktur-approval', { path: '/hoyufakturapproval/:id/vehicleid/:vehicleid' }); this.route('view-detail', { path: '/viewdetail/:id' }); } ); this.route('sub-business-segment', { path: 'subbusinesssegment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('dms-stock-adjustment', { path: 'dmsstockadjustment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('dms-stock-opname', { path: 'dmsstockopname' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('dms-transfer-request', { path: 'dmstransferrequest' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-transfer-request-detail', { path: '/dmstransferrequestdetail/:id' }); } ); this.route('dms-work-order', { path: 'dmsworkorder' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-work-order-detail', { path: '/dmsworkorderdetail/:id' }); this.route('dms-work-order-detail-approval', { path: '/dmsworkorderdetailapproval/:id' }); } ); this.route('hoyu-faktur-approval', { path: 'hoyufakturapproval' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('hoyu-faktor-approval-list', { path: '/hoyufaktorapprovallist/:id' }); this.route('hoyu-faktur-approval-list', { path: '/hoyufakturapprovallist/:id' }); this.route('hoyu-faktur-approval-attachment', { path: '/hoyufakturapprovalattachment/:id' }); this.route('view-detail', { path: '/viewdetail/:id' }); } ); this.route('hoyu-order-split-approval', { path: 'hoyuordersplitapproval' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('hoyu-order-split-approval-list', { path: '/hoyuordersplitapprovallist/:id' }); } ); this.route('hoyu-pdi-approval', { path: 'hoyupdiapproval' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('dms-work-order-invoice-return', { path: 'dmsworkorderinvoicereturn' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-work-order-invoice-return-detail', { path: '/dmsworkorderinvoicereturndetail/:id' }); this.route('dms-work-order-invoice-return-detail-approval', { path: '/dmsworkorderinvoicereturndetailapproval/:id' }); } ); this.route('hoyu-event-approval', { path: 'hoyueventapproval' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('hoyu-event-approval-list', { path: '/hoyueventapprovallist/:id' }); this.route('hoyu-event-approval-attachment', { path: '/hoyueventapprovalattachment/:id' }); this.route('hoyu-event-approval-budget', { path: '/hoyueventapprovalbudget/:id' }); } ); this.route('hoyu-sales-order-approval', { path: 'hoyusalesorderapproval' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('hoyu-sales-order-attachment', { path: '/hoyusalesorderattachment/:id' }); this.route('hoyu-sales-order-competitor', { path: '/hoyusalesordercompetitor/:id' }); this.route('hoyu-sales-order-product-split', { path: '/hoyusalesorderproductsplit/:id' }); this.route('hoyu-sales-order-approval-list', { path: '/hoyusalesorderapprovallist/:id' }); this.route('hoyu-sales-order-available-vehicle', { path: '/hoyusalesorderavailablevehicle/:id' }); this.route('hoyu-sales-order-order-split', { path: '/hoyusalesorderordersplit/:id' }); this.route('editp', { path: '/editp/:id' }); this.route('detailp', { path: '/detailp/:id' }); } ); this.route('dms-sales-order-invoice-return', { path: 'dmssalesorderinvoicereturn' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-sales-order-invoice-return-detail', { path: '/dmssalesorderinvoicereturndetail/:id' }); this.route('dms-sales-order-invoice-return-approval-list', { path: '/dmssalesorderinvoicereturnapprovallist/:id' }); } ); this.route('dms-sales-order', { path: 'dmssalesorder' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-sales-order-detail', { path: '/dmssalesorderdetail/:id' }); this.route('dms-sales-order-detail-approval', { path: '/dmssalesorderdetailapproval/:id' }); } ); this.route('dms-purchase-order', { path: 'dmspurchaseorder' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-purchase-order-detail', { path: '/dmspurchaseorderdetail/:id' }); this.route('dms-purchase-order-approval-list', { path: '/dmspurchaseorderapprovallist/:id' }); } ); this.route('dms-print-gate-pass', { path: 'dmsprintgatepass' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-print-gate-pass-approval-list', { path: '/dmsprintgatepassapprovallist/:id' }); } ); this.route('dms-pdi-request', { path: 'dmspdirequest' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-pdi-request-detail-input', { path: '/dmspdirequestdetailinput/:id' }); this.route('dms-pdi-request-detail', { path: '/dmspdirequestdetail/:id' }); this.route('dms-pdi-request-approval-list', { path: '/dmspdirequestapprovallist/:id' }); } ); this.route('dms-outstanding-payment', { path: 'dmsoutstandingpayment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('dms-item-inquiry', { path: 'dmsiteminquiry' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('index-filter', { path: '/indexfilter' }); } ); this.route('dms-assignment-letter', { path: 'dmsassignmentletter' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); this.route('dms-assignment-letter-detail', { path: '/dmsassignmentletterdetail/:id' }); } ); this.route('dms-agreement-spare-part', { path: 'dmsagreementsparepart' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('dms-agreement-service', { path: 'dmsagreementservice' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('core-user-group', { path: 'coreusergroup' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('core-attachment', { path: 'coreattachment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('status', { path: 'status' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('news-management', { path: 'newsmanagement' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('news-management-dealer', { path: '/newsmanagementdealer/:id' }); this.route('preview', { path: '/preview/:id' }); } ); this.route('attachment', { path: 'attachment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('province', { path: 'province' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('sync-log', { path: 'synclog' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('approval-log', { path: 'approvallog' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('document-log', { path: 'documentlog' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('approver-list', { path: 'approverlist' }, function () { this.route('index', { path: '/:id' }); this.route('user-letter', { path: '/userletter' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('document-type', { path: 'documenttype' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('data-source', { path: 'datasource' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('vehicle-model', { path: 'vehiclemodel' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('vehicle-variant', { path: 'vehiclevariant' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('team-role', { path: 'teamrole' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('team-resource', { path: 'teamresource' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('team-organization', { path: 'teamorganization' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('contact-resource', { path: 'contactresource' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('team-access', { path: 'teamaccess' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('multiple-attachment', { path: 'multipleattachment' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('multiple-attachment-details', { path: '/multipleattachmentdetails/:id' }); } ); this.route('fcm-token', { path: 'fcmtoken' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('notification', { path: 'notification' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('user-alias', { path: 'useralias' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('user-alias-details', { path: '/useraliasdetails/:id' }); } ); this.route('topic-subscribed', { path: 'topicsubscribed' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('warehouse', { path: 'warehouse' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('warehouse-group', { path: 'warehousegroup' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('lost-order-reason', { path: 'lostorderreason' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('vehicle-stage', { path: 'vehiclestage' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); } ); this.route('payment-types', { path: 'paymenttypes' }, function () { this.route('index', { path: '/' }); this.route('create', { path: '/create' }); this.route('edit', { path: '/edit/:id' }); this.route('detail', { path: '/detail/:id' }); this.route('filter', { path: '/filter' }); this.route('approval', { path: '/approval/:id' }); } ); this.route('privilege-info', { path : 'privilegeinfo'}, function() { this.route('index', { path: '/'}); this.route('create', { path: '/create'}); this.route('edit', { path: '/edit/:id'}); this.route('detail', { path: '/detail/:id'}); this.route('filter', { path: '/filter'}); } ); //ENDROUTE this.route('profile\\index'); this.route('reset-password', { path: "resetpassword" }, function () { this.route('index', { path: '/' }); } ); this.route('login\\forgot-password'); //this.route('dms-pdi-request\\dms-pdi-request-detail-input'); }); export default Router;