Skip to content

Retrieve Activity Logs on a Model with LogActivity Trait #750

Answered by Gummibeer
FallenKnight85 asked this question in Q&A
Discussion options

You must be logged in to vote

At first, I wonder how you've created this as an issue? The only way I've found would be that you've used the "Bug" template and removed the label? Or have you accessed https://github.com/spatie/laravel-activitylog/issues/new directly? Or is there another way GitHub does not cover with the current settings?
At all, we have several issue/discussion templates you can choose one: https://github.com/spatie/laravel-activitylog/issues/new/choose
I kindly ask you to use the correct one in the future. For the moment I've moved the issue to the "Help Discussion".


From the subject model perspective you can use the $subject->activities relationship.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Gummibeer
Comment options

You must be logged in to vote
1 reply
@Gummibeer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #750 on July 13, 2020 12:23.