HomeController.php 358 B

12345678910111213141516171819202122232425
  1. <?php namespace App\Http\Controllers;
  2. class HomeController extends Controller {
  3. /**
  4. * Create a new controller instance.
  5. *
  6. * @return void
  7. */
  8. public function __construct()
  9. {
  10. $this->middleware('auth');
  11. }
  12. /**
  13. * Show the application dashboard to the user.
  14. *
  15. * @return Response
  16. */
  17. public function index()
  18. {
  19. return view('home');
  20. }
  21. }