/** * Display a listing of the resource. * * @return Response */ public function index() { $notifications = RepostNotification::where('my_user_id', Auth::user()->id)->get()->reverse(); return view('notifications', compact('notifications')); }