updated controllers to use resources
This commit is contained in:
parent
0787b75780
commit
19f81a0024
6 changed files with 79 additions and 18 deletions
|
|
@ -31,6 +31,7 @@ class MovieListPolicy
|
|||
|
||||
public function update(User $user, MovieList $movieList): bool
|
||||
{
|
||||
|
||||
if ($movieList->owner === $user->getKey()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue