HomeController.php 422 B

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