How to translate observer pattern for audit logs?

You can wrap your Repo module function calls to require a user. Then it doesn’t even take any extra lines in each of your controllers or other locations.

5 Likes