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

@@ -0,0 +1,15 @@
@extends('layouts.app')
@section('content')
<div class="container">
Profile
</div>
<a href="{{ route('list.create') }}">
Add Beer list
</a>
@foreach (Auth::user()->lists as $list)
<a href="{{ route('list.show', $list->id) }}">
{{ $list->title }}
</a>
@endforeach
@endsection