blame
blame copied to clipboard
Documentation to show how to get user's name
Can you please let me know what to change or add to my code to get the user's name as well as the id?
I have a model (Issues) which already references user_id
in the Users table (so that the user assigned to an Issue has their name appear), however I don't know what to change to get the created_by
and modified_by
names as well.
If you let me how how to do it, I can write some documentation. :)