you don't access view file directly.
you should access it via route.
//in app/routes.php
Route::get('users/test', function()
{
return View::make('users.test');
});
//then visit
http://localhost/laravel/public/users/test
Thanks alainbelez. I accessed directly: http://localhost/laravel/app/views/users/test.blade.php You meant I should access via routes?
that would be the result if you run the blade file directly, if you want a static page. create a new route for it.
blade should never be accessed directly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community