How can it log the attributes of a hasOne relationship? #1122
Unanswered
azim-kordpour
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a model called Post, and this model has a hasOne relationship with another model called Rule. I need to log both attributes of the models after updating if there is a modification. Unfortunately, the values of the relation are not saved.
This is the getActivitylogOptions method of the Post model:
May I ask you to help me out?
Beta Was this translation helpful? Give feedback.
All reactions