Skip to content

Commit

Permalink
Merge pull request #16707 from efx/remove-needless-wording
Browse files Browse the repository at this point in the history
[DOC beta] remove needless prohibition
  • Loading branch information
rwjblue authored Dec 20, 2018
2 parents c17f0a6 + 64cbbbd commit c52ea90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/@ember/-internals/routing/lib/ext/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ ControllerMixin.reopen({
```
It is also possible to pass a URL (a string that starts with a
`/`). This is intended for testing and debugging purposes and
should rarely be used in production code.
`/`).
```javascript
aController.transitionToRoute('/');
Expand Down Expand Up @@ -195,8 +194,7 @@ ControllerMixin.reopen({
```
It is also possible to pass a URL (a string that starts with a
`/`). This is intended for testing and debugging purposes and
should rarely be used in production code.
`/`).
```javascript
aController.replaceRoute('/');
Expand Down
3 changes: 1 addition & 2 deletions packages/@ember/-internals/routing/lib/system/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,7 @@ class Route extends EmberObject implements IRoute {
```
It is also possible to pass a URL (a string that starts with a
`/`). This is intended for testing and debugging purposes and
should rarely be used in production code.
`/`).
```javascript
this.transitionTo('/');
Expand Down

0 comments on commit c52ea90

Please sign in to comment.