diff --git a/.vitepress/config/navbar.ts b/.vitepress/config/navbar.ts index 1f608ce6..b9c95434 100644 --- a/.vitepress/config/navbar.ts +++ b/.vitepress/config/navbar.ts @@ -49,7 +49,7 @@ const nav: DefaultTheme.NavItem[] = [ items: [ { text: 'Hana JS', - link: 'https://hanajs.dev', + link: 'https://hana.leafphp.dev', }, { text: 'Naytive', diff --git a/src/docs/routing/index.md b/src/docs/routing/index.md index 3d624f08..80bda0af 100644 --- a/src/docs/routing/index.md +++ b/src/docs/routing/index.md @@ -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);