-
|
I'm using this spatie activitylog package, that is very helpful . But I create a user activity feed that only admin can see , but for that i have used permissions, anyway, my questions is how do i get users name instead of users id. In my view table is like I have to say that the ID is not really necessary, what am I interest to is the name. |
Beta Was this translation helpful? Give feedback.
Answered by
Gummibeer
Sep 19, 2020
Replies: 1 comment 4 replies
-
|
You can use the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Gummibeer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
causerrelationship. For example{{ $activity->causer?->name }}