routes.tsx 534 B

12345678910111213141516
  1. import {IndexRoute, Route} from 'sentry/components/route';
  2. import {makeLazyloadComponent as make} from 'sentry/routes';
  3. export const automationRoutes = (
  4. <Route path="/automations/" withOrgPath>
  5. <IndexRoute component={make(() => import('sentry/views/automations/list'))} />
  6. <Route
  7. path=":automationId/"
  8. component={make(() => import('sentry/views/automations/detail'))}
  9. />
  10. <Route
  11. path=":automationId/edit/"
  12. component={make(() => import('sentry/views/automations/edit'))}
  13. />
  14. </Route>
  15. );