I have problem in my Laravel 4 project. I want to start using blade template but all I got is error when loading project. I have an index.php view and this is my routes.php file:
Route::get('/', function()
{
return View::make('index');
}
And all this works like a charm. But alter I change my view file name to index.blade.php nothing works anymore.
I have tried to change my routes.php file to:
Route::get('/', function()
{
return View::make('index.blade');
}
But no luck.
What I have been missing?