Skip to content

Instantly share code, notes, and snippets.

@noslen254
Created Sep 13, 2021
Embed
What would you like to do?
<?php
public function index()
{
$users = User::orderBy('id')->get();
$emails = Attachment::orderBy('id')->get();
return view('welcome', compact('users', 'emails'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment