App\Http\Controllers\NotificationsController::markAll PHP Method

markAll() public method

public markAll ( )
    public function markAll()
    {
        $user = \Auth::id();
        Notifynder::readAll($user);
        return redirect()->back();
    }
NotificationsController