Ejemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //         $usersss= Articles::where('user_id','=','2')->get();
     $articles = Articles::get();
     return View::make('articles.index', compact('articles', 'usersss'));
 }