Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 590 Bytes
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@foreach ($posts as $post)
<div class="card">
<div class="card-header">
<a href="{{ route('post.show', $post) }}">{{ $post->title }}</a>
</div>
<div class="card-body">
{{ $post->content }}
</div>
</div>
@endforeach
</div>
</div>
</div>
@endsection