HomeController.php 467 B

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