HomeController.php 475 B

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