Basic routes and BeerListController methods

This commit is contained in:
2021-09-04 23:54:41 +02:00
parent 1b8e76b183
commit 26dbfeb94a
20 changed files with 146 additions and 64 deletions

View File

@@ -42,7 +42,7 @@ class User extends Authenticatable
'email_verified_at' => 'datetime',
];
public function list()
public function lists()
{
return $this->hasMany(BeerList::class);
}