From 6bb03920a8ff3859a37d78d3e2f084ad1ded4f8f Mon Sep 17 00:00:00 2001
From: Geri Peter
Date: Thu, 9 Apr 2015 10:42:31 +0200
Subject: [PATCH] README.md, fixing classname in namespace
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index f667f8c..9a809b8 100644
--- a/README.md
+++ b/README.md
@@ -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'
];
}
}
@@ -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
]