We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea0a07 commit 832ca86Copy full SHA for 832ca86
guides/v3.4.0/routing/defining-your-routes.md
@@ -265,6 +265,12 @@ Router.map(function() {
265
In the above example we have successfully used a wildcard route to handle all routes not managed by our application
266
so that when a user navigates to `/a/non-existent/path` they will be shown a message that says the page they're looking for wasn't found.
267
268
+Note that if you want to manually transition to this wildcard route, you need to pass an arbitrary (not empty) argument. For example:
269
+
270
+```javascript {data-filename=app/routes/some-route.js}
271
+this.transitionTo('not-found', 404);
272
+```
273
274
## Route Handlers
275
276
To have your route do something beyond render a template with the same name, you'll
0 commit comments