示例#1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $emails = Email::orderBy('name', 'desc')->get();
     return view('emails.index', compact('blog_items'));
 }
示例#2
0
 public function emails()
 {
     $subtitle = "Showing All Email Templates";
     $emails = Email::orderBy('id', 'asc')->get();
     return view('emails.admin', compact('emails', 'subtitle'));
 }