Skip to content

Commit 938f2ab

Browse files
Updated
1 parent 826c5a8 commit 938f2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class Post extends Auditing
207207
public static $logCustomMessage = '{user.name|Anonymous} {type} a post {elapsed_time}'; // with default value
208208
public static $logCustomFields = [
209209
'title' => 'The title was defined as "{new.title||getNewTitle}"', // with callback method
210-
'ip' => 'Registered from the address {ip|route|getAnotherthing}',
210+
'ip' => 'Registered from the address {ip||getAnotherthing}',
211211
'publish_date' => [
212212
'created' => 'Publication date: {new.publish_date}',
213213
'updated' => 'The post publication date has been updated from {old.publish_date} to {new.publish_date}'

0 commit comments

Comments
 (0)