Skip to content

Instantly share code, notes, and snippets.

@abdalla
Last active February 14, 2017 15:50
Show Gist options
  • Save abdalla/a7e0e697a89ce00906d875da3a7bf7fe to your computer and use it in GitHub Desktop.
Save abdalla/a7e0e697a89ce00906d875da3a7bf7fe to your computer and use it in GitHub Desktop.
<Router>
<Route path="/" component={App}>
<IndexRoute component={Lander} />
<Route path="com/:opco/signin" component={SignIn} />
<Route path="com/:opco/search/colors" component={SearchPatternColorView} onEnter={onEnter} function="ViewFabric" />
<Route path="com/:opco/pattern/:patternID" component={MaintainPattern} onEnter={onEnter} function="ViewFabric" />
<Route path="com/:opco/pattern/:patternID/color/:colorID" component={MaintainColor} onEnter={onEnter} function="ViewFabric" />
<Route path="com/:opco" component={sendAdobeAnalyticsPageInformation(RequestLoggedIn, 'com request')} onEnter={onEnter} function="ViewFabric" />
<Route path="com/:opco/admin-dashboard" component={ComAdminDashboard} onEnter={onEnter} function="EditAdminDashboard" />
<Route path="com/:opco/user-dashboard" component={sendAdobeAnalyticsPageInformation(ComUserDashboard, 'view my com')} onEnter={onEnter} function="ViewMyRequestsDashboard" />
<Route path="com/:opco/requestanonymous" component={sendAdobeAnalyticsPageInformation(RequestAnonymous, 'anonymous com request')} />
<Route path="com/:opco/requestloggedin" component={sendAdobeAnalyticsPageInformation(RequestLoggedIn, 'com request')} onEnter={onEnter} function="CreateRequest" />
<Route path="com/:opco/requestordercode" component={sendAdobeAnalyticsPageInformation(RequestOrderCode, 'request order code')} onEnter={onEnter} function="CreateRequest" />
<Route path="com/:opco/comrequestthankyou" component={sendAdobeAnalyticsPageInformation(ComRequestThankYou, 'com request thank you')} />
<Route path="com/:opco/order-code-request-thank-you" component={sendAdobeAnalyticsPageInformation(OrderCodeRequestThankYou, 'request order code thank you')} />
<Route path="com/:opco/login" component={Login} />
<Route path="lander" component={Lander} />
<Route path="redirecting-to-hni-portal" component={RedirectingToHniPortal} />
</Route>
</Router>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment