Skip to content

Commit c27c95f

Browse files
committed
refactor routes
1 parent 23b11e5 commit c27c95f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

routes/web.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
|
1515
*/
1616

17-
Route::get('/', function () {
18-
return view('welcome');
19-
});
17+
Route::view('/', 'welcome');
2018

2119
Route::get('/docs/{page?}', DocsController::class)->name('docs')->where('page', '.*');

0 commit comments

Comments
 (0)