/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $poas = PowerofAttorney::latest()->get();
     return view('admin.powerofattorney.index')->with('poas', $poas);
 }
Exemple #2
0
 @extends('front.frontmaster')

@section('content')

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


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


 	      @endforeach
 @endsection