Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vitepress/config/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const nav: DefaultTheme.NavItem[] = [
items: [
{
text: 'Hana JS',
link: 'https://hanajs.dev',
link: 'https://hana.leafphp.dev',
},
{
text: 'Naytive',
Expand Down
2 changes: 1 addition & 1 deletion src/docs/routing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can then redirect to this route using the route name by passing an array wit
response()->redirect(['home']);
```

If you want to get details about a route, you can use the `getRoute()` method.
If you want to get details about a route using its name, you can use the `route()` method.

```php:no-line-numbers
$route = app()->route($routeName);
Expand Down