Larabit, I Think I Can

preview_player
Показать описание
As part of Laravel v8.70, we can now chain a can() method directly off of a Route declaration. This provides an easy way to add authorization to any route. Let's review a quick example that provides a before and after illustration.

Рекомендации по теме