iachat/app/javascript/dashboard/routes/dashboard/contacts/routes.js
Nithin David Thomas f214c9c47c
feat: Add Contacts page (#1335)
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-11-10 15:25:26 +05:30

13 lines
336 B
JavaScript

/* eslint arrow-body-style: 0 */
import ContactsView from './components/ContactsView';
import { frontendURL } from '../../../helper/URLHelper';
export const routes = [
{
path: frontendURL('accounts/:accountId/contacts'),
name: 'contacts_dashboard',
roles: ['administrator', 'agent'],
component: ContactsView,
},
];