I have a question about simple laravel code which is not working.
This is how the route looks:
Route::get('/', function()
{
$chill = array(
'heading' => 'Hello Laravel',
'body' => 'This is totally awesome'
);
return View::make('test', $chill);
});
This is how the view looks in test.php
:
{{ $heading }}
{{ $body }}
I don't understand why this is not working.