1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php namespace App\Http\Controllers;
- class WelcomeController extends Controller {
- /*
- |--------------------------------------------------------------------------
- | Default Home Controller
- |--------------------------------------------------------------------------
- |
- | You may wish to use controllers instead of, or in addition to, Closure
- | based routes. That's great! Here is an example controller method to
- | get you started. To route to this controller, just add the route:
- |
- | $router->get('/', 'WelcomeController@index');
- |
- */
- /**
- * Create a new controller instance.
- *
- * @return void
- */
- public function __construct()
- {
- $this->middleware('guest');
- }
- /**
- * Show the application welcome screen to the user.
- *
- * @return Response
- */
- public function index()
- {
- return view('welcome');
- }
- }
|