Skip to content

Commit 304a635

Browse files
authored
docs: update some outdated namespaces in example code (#1747)
1 parent 5ce9c67 commit 304a635

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/1-essentials/02-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ This component provides a form element that will post by default and includes th
502502

503503
```html
504504
<?php
505-
use function \Tempest\uri;
505+
use function \Tempest\Router\uri;
506506
?>
507507

508508
<x-form :action="uri(StorePostController::class)">

docs/4-internals/03-view-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ This component provides a form element that will post by default and includes th
473473

474474
```html
475475
<?php
476-
use function \Tempest\uri;
476+
use function \Tempest\Router\uri;
477477
?>
478478

479479
<x-form :action="uri(StorePostController::class)">

0 commit comments

Comments
 (0)