Sha256: aa90aa830f5e92ebbd102d6fabd25200318a65dab6e9016f9f19124db8e2b27c

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

import React from 'react';
import OvalContentsIndex from './OvalContents/OvalContentsIndex';
import OvalContentsShow from './OvalContents/OvalContentsShow';
import OvalContentsNew from './OvalContents/OvalContentsNew';
import OvalPoliciesIndex from './OvalPolicies/OvalPoliciesIndex';
import OvalPoliciesShow from './OvalPolicies/OvalPoliciesShow';

import {
  ovalContentsPath,
  ovalContentsShowPath,
  ovalContentsNewPath,
  ovalPoliciesPath,
  ovalPoliciesShowPath,
} from '../helpers/pathsHelper';

export default [
  {
    path: ovalContentsPath,
    render: props => <OvalContentsIndex {...props} />,
    exact: true,
  },
  {
    path: ovalContentsNewPath,
    render: props => <OvalContentsNew {...props} />,
    exact: true,
  },
  {
    path: ovalContentsShowPath,
    render: props => <OvalContentsShow {...props} />,
    exact: true,
  },
  {
    path: ovalPoliciesPath,
    render: props => <OvalPoliciesIndex {...props} />,
    exact: true,
  },
  {
    path: ovalPoliciesShowPath,
    render: props => <OvalPoliciesShow {...props} />,
    exact: true,
  },
];

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_openscap-5.1.0 webpack/routes/routes.js