Skip to content

Commit 0c6a0a6

Browse files
committed
feat: opt into new view engine behaviour
1 parent 420a913 commit 0c6a0a6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

public/index.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@
5656
unset($path);
5757
}
5858

59+
/*
60+
|--------------------------------------------------------------------------
61+
| Attach blade view
62+
|--------------------------------------------------------------------------
63+
|
64+
| Since blade no longer ships with Leaf by default, we
65+
| can attach blade back to Leaf so you can use Leaf MVC
66+
| as you've always used it.
67+
|
68+
*/
69+
Leaf\Config::attachView(\Leaf\Blade::class);
70+
5971
/*
6072
|--------------------------------------------------------------------------
6173
| Load Leaf configuration

0 commit comments

Comments
 (0)