dillingham / formation

Laravel search, sort, and filters
MIT License
0 stars 0 forks source link

nested checks #32

Open dillingham opened 2 years ago

dillingham commented 2 years ago

Index ->check('view', $this->parent()); PostPolicy view ->check('viewAny{parentPlural}', $this->parent()); if method exists AuthorPolicy viewAnyPosts ->check('viewAny', $this->model());