Skip to content

Commit

Permalink
README.md, fixing classname in namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
p-geri committed Apr 9, 2015
1 parent a0037f1 commit 6bb0392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To use this extension you can simply add it to the model's behaviours:
public function behaviors()
{
return [
'sammaye\audittrail\LoggableBehaviour'
'sammaye\audittrail\LoggableBehavior'
];
}
}
Expand All @@ -25,8 +25,8 @@ You can convert the entered behaviour into a key - value structure to define opt
public function behaviors()
{
return [
'LoggableBehaviour' => [
'class' => 'sammaye\audittrail\LoggableBehaviour',
'LoggableBehavior' => [
'class' => 'sammaye\audittrail\LoggableBehavior',
'ignored' => ['some_field'], // This ignores fields from a selection of all fields, not needed with allowed
'allowed' => ['another_field'] // optional, not needed if you use ignore
]
Expand Down

0 comments on commit 6bb0392

Please sign in to comment.