Closed ghost closed 5 years ago
My code: Route::get('/', function () { \View::assign('word', 'hello'); });
Try
Route::get('/', function () { app('smarty.view')->assign('word', 'hello'); });
This should be updated in the doc..
My code: Route::get('/', function () { \View::assign('word', 'hello'); });