Finalized many to many relationship

This commit is contained in:
2021-09-05 02:51:33 +02:00
parent f4c030934a
commit d1d2198ef5
7 changed files with 77 additions and 35 deletions

View File

@@ -37,6 +37,6 @@ class BeerController extends Controller
$beer->save();
return redirect('/profile');
return back()->with('success', 'Beer added!');
}
}