Laravel 5 - Blade Extension Error
I started using laravel 5 recently and its new. I'm using linux ubuntu 14.10.
Here is my code in the file app/Http/routes.php
Route::get('/test',function(){return view('test');});
And I have created the test view here resources/views/test.blade.php
The error is when I use the .blade.php
extension for test file as above the browser window is empty even I don't get any error message.
But when I renamed the file back to test.php
without .blade
it works fine !
I don't get what is happening. And when I used the default files like welcome.blade.php
they work fine too.
I'm really confused. What am I doing wrong ?