I just started playing around with laravel. First of all, this is the best framework i've came across. Now here is my issue. I am trying to point from routes -> controller -> view
//This is my Controller file
public function index()
{
return View::make('pages', array('name' => 'Taylor'));
}
// This is my Routes File
Route::get('/', 'pagesController@index');
View file => pages.blade.php
This is the error i'm getting.
FatalErrorException in pagesController.php line 19:
Class 'App\Http\Controllers\View' not found