Skip to content

Instantly share code, notes, and snippets.

@nevir
Created September 9, 2014 22:41
Show Gist options
  • Save nevir/e77072f4d9f2ff149977 to your computer and use it in GitHub Desktop.
Save nevir/e77072f4d9f2ff149977 to your computer and use it in GitHub Desktop.
<more-route-switch routeContext>
<template when="/users/:userId">
<!-- full path: /users/:userId/details -->
<more-route path="/details"></more-route>
</template>
<template when="/posts/:postId">
<!-- full path: /posts/:postId/details -->
<more-route path="/details"></more-route>
</template>
</more-route-switch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment