From 5022a547d3da381b45570163e687ed36c7183af9 Mon Sep 17 00:00:00 2001 From: Jon Whittlestone Date: Tue, 10 Feb 2015 16:19:31 +0000 Subject: [PATCH] correct SoftDelete Trait reference --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78dd0f1e7..8c753b61a 100644 --- a/README.md +++ b/README.md @@ -369,11 +369,11 @@ User::where('bmi', 30)->decrement('bmi', 1, array('category' => 'overweight')); When soft deleting a model, it is not actually removed from your database. Instead, a deleted_at timestamp is set on the record. To enable soft deletes for a model, apply the SoftDeletingTrait to the model: ```php -use Jenssegers\Mongodb\Eloquent\SoftDeletes; +use Jenssegers\Mongodb\Eloquent\SoftDeletingTrait; class User extends Eloquent { - use SoftDeletes; + use SoftDeletingTrait; protected $dates = ['deleted_at'];