Skip to content

Commit 2d422c1

Browse files
committed
Add docs reference
1 parent 8f48d8a commit 2d422c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Middleware.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Middleware
1111
/**
1212
* The root template that will be loaded on the first page visit.
1313
*
14+
* @see https://inertiajs.com/server-side-setup#root-template
1415
* @var string
1516
*/
1617
protected $rootView = 'app';

stubs/middleware.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class {{ class }} extends Middleware
1010
/**
1111
* The root template that will be loaded on the first page visit.
1212
*
13+
* @see https://inertiajs.com/server-side-setup#root-template
1314
* @var string
1415
*/
1516
protected $rootView = 'app';

0 commit comments

Comments
 (0)