From 3aff9721b528b8397e30df4b417334b5bcfa3a62 Mon Sep 17 00:00:00 2001 From: Fish Date: Wed, 30 Mar 2016 06:40:49 +0800 Subject: [PATCH] Fix for incorrect namespace of ExceptionModel --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1e82b1..9ecd42c 100755 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ use Tylercd100\LERN\Facades\LERN; You can call `LERN::record($exception);` to record an Exception to the database. To query any Exception that has been recorded you can use `ExceptionModel` which is an Eloquent Model ```php -use Tylercd100\LERN\Model\ExceptionModel; +use Tylercd100\LERN\Models\ExceptionModel; $mostRecentException = ExceptionModel::orderBy('created_at','DESC')->first(); ```