bart
322
9
General

ACL middleware

Posted 3 years ago by bart

Hey guys,

I really like the new Laravel ACL feature. But what do you think about doing all that stuff inside the controller? Wouldn't it be better using a middleware here and pass it to the corresponding routes inside the routes config / annotations?

Maybe this would be an improvement for one of the next versions.

Please sign in or create an account to participate in this conversation.