Sober - Call util functions from Controllers

Hi, I’m trying to make a function reusable for different controllers, but don’t know what’s the best practice to do it. Thanks in advance.

Controller has support for Traits, which may be relevant to your use case:

Otherwise, just do what you would normally do for a function you plan to reuse.

1 Like

yea, no need to overcomplicate it.