app/controllers/ProjectsController.php
/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index()
	{
		$projects = Project::all();
		return View::make('projects.index')->withProjects($projects);
	}
public function index ( ) { $ projects = Project :: all ( ) ; return View :: make ( 'projects.index' ) -> withProjects ( $ projects ) ; }
Display a listing of the resource.
Display a listing of the resource .