Skip to content

Commit 8cdc5a6

Browse files
committed
feat: update index with view route
1 parent 3b378fc commit 8cdc5a6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/routes/_app.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
<?php
22

3-
app()->get('/', function () {
4-
/**
5-
* `render(view, [])` is the same as `echo view(view, [])`
6-
*/
7-
render('index');
8-
});
3+
app()->view('/', 'index');

0 commit comments

Comments
 (0)