Skip to content

Instantly share code, notes, and snippets.

@brycekmartin
Forked from samsch/client.js
Last active December 21, 2016 18:12
Show Gist options
  • Save brycekmartin/07e3a29f25bb265ef21d8c948a45f82f to your computer and use it in GitHub Desktop.
Save brycekmartin/07e3a29f25bb265ef21d8c948a45f82f to your computer and use it in GitHub Desktop.
<Router history={hashHistory}>
<Route path="/" component={Layout}>
<IndexRoute component={Dashboard}></IndexRoute>
<Route path="Login" component={Login}></Route>
<Route path="accounting">
<Route path="authorize-orders" component={AuthorizeOrders}></Route>
<Route path="credit-transaction" component={CreditCcTransaction}></Route>
<Route path="authorize-card">
<IndexRoute component={Sale}></IndexRoute>
<Route path="select-invoices" component={SaleSelectInvoices}></Route>
</Route>
<Route path="void-transaction" component={VoidCcTransaction}></Route>
<Route path="capture-batch" component={CaptureBatch}></Route>
<Route path="select-card-to-process" component={SelectCardToProcess}></Route>
</Route>
</Route>
</Router>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment