Skip to content

Commit

Permalink
Merge pull request #9 from gepe82/master
Browse files Browse the repository at this point in the history
README.md, fixing classname in namespace
  • Loading branch information
Sammaye committed Apr 9, 2015
2 parents a0037f1 + 6bb0392 commit 39443cd
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 39443cd

Please sign in to comment.