@extends('front.frontmaster')

@section('content')

<?php 
use App\Attestation;
$ats = Attestation::latest()->get();
?>


 @foreach($ats as $at )
<h2>{{$at->title}}</h2>
<p>{!!$at->details!!}</p>


 	      @endforeach
 @endsection
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $attestations = Attestation::latest()->get();
     return view('admin.attestation.index')->with('attestations', $attestations);
 }