WelcomeController.php 769 B

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