Skip to content

Instantly share code, notes, and snippets.

@alexdiliberto
Last active April 21, 2023 08:59
Show Gist options
  • Save alexdiliberto/9948140 to your computer and use it in GitHub Desktop.
Save alexdiliberto/9948140 to your computer and use it in GitHub Desktop.
List all Ember route paths. (Just paste this in the console of your favorite Ember app)
// NOTE: `AppName` is simply your PascalCase application name (`modulePrefix` key from `../config/environment.js`)
window.AppName.__container__.lookup('service:router')._router._routerMicrolib.recognizer.names;
@backspace
Copy link

Do you have ember-export-application-global? It’s turned off by default in a production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment