HomeController.php 845 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php namespace App\Http\Controllers;
  2. class HomeController extends Controller
  3. {
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Home Controller
  7. |--------------------------------------------------------------------------
  8. |
  9. | This controller renders your application's "dashboard" for users that
  10. | are authenticated. Of course, you are free to change or remove the
  11. | controller as you wish. It is just here to get your app started!
  12. |
  13. */
  14. /**
  15. * Create a new controller instance.
  16. *
  17. * @return void
  18. */
  19. public function __construct()
  20. {
  21. $this->middleware('auth');
  22. }
  23. /**
  24. * Show the application dashboard to the user.
  25. *
  26. * @return Response
  27. */
  28. public function index()
  29. {
  30. return view('home');
  31. }
  32. }