-
-
Save nelsongei/687e19616a90f0f97728a978d384271a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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