Created
May 24, 2016 17:52
-
-
Save purwandi/41af80eef374c2f85e1ed240b0b3b916 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
namespace App; | |
use Illuminate\Http\Request; | |
class FooController extends Controller | |
{ | |
public function index(Request $request) | |
{ | |
$user = $request->user(); | |
return view('hello', compact('user')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment