Exemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     return Project::with('skills', 'photos')->orderBy('ordering')->orderBy('completed_at', 'desc')->get();
 }