/** * 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')); }
/** * 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')); }