WelcomeController.php 857 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php namespace App\Http\Controllers;
  2. class WelcomeController extends Controller
  3. {
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Welcome Controller
  7. |--------------------------------------------------------------------------
  8. |
  9. | This controller renders the "marketing page" for the application and
  10. | is configured to only allow guests. Like most of the other sample
  11. | controllers, you are free to modify or remove it as you desire.
  12. |
  13. */
  14. /**
  15. * Create a new controller instance.
  16. *
  17. * @return void
  18. */
  19. public function __construct()
  20. {
  21. $this->middleware('guest');
  22. }
  23. /**
  24. * Show the application welcome screen to the user.
  25. *
  26. * @return Response
  27. */
  28. public function index()
  29. {
  30. return view('welcome');
  31. }
  32. }