Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
anteriovieira committed Sep 17, 2015
1 parent f7d01a3 commit ff65df1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Pessoa extends Eloquent
Para manter o log das alterações do seu model usando Legacy class, você pode estender a class `OwnerIt\Auditing\Auditing`, exemplo:

```php
namespace MyApp\Models;
namespace App;

use OwenIt\Auditing\Auditing;

Expand All @@ -108,9 +108,11 @@ As configurações do comportamento do Auditing são realizadas com a declaraç
* Desativar o log para campos específicos: `$dontKeep = ['campo1', 'campo2']`

```php
namespace MyApp\Models;
namespace App;

class Pessoa extends Eloquent
use Illuminate\Database\Eloquent\Model;

class Pessoa extends Model
{
use OwenIt\Auditing\AuditingTrait;

Expand Down

0 comments on commit ff65df1

Please sign in to comment.