Created
December 11, 2017 01:44
-
-
Save Brandonxy/92cae35faea1d31987fc53969e595b2e 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 | |
Route::get('/', function () { | |
$user = App\User::find(1); // Usaremos 1 usuario para probar | |
return view('welcome')->with('user', $user); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment