I'm currently playing around with spark
for laravel
. I'd like to limit the amount of teams per user to 1. So basically I wantto forbid to create new teams or join other teams. I found the
CanJoinTeams Trait
But I'm actually not sure where to keep looking for changes. I'd love if someone could tell me where I have to look at and where I could overwrite necesseray functions.
>This command will download and install the latest release of Spark into your application and update any views that have not already been customized. Views that have already been customized will not be updated.
If you place the code that is in the trait and you do not want to lose in your model, you should be good. – Infernobass7 May 23 '16 at 15:33