Count when click on table row to view model

Hey! I have a resource table with messages and a simple view modal. How i can set the reat_at date on the model when the message modal was opened?
Was this page helpful?