Working on default app structure. Login views.
This commit is contained in:
23
app/Http/Controllers/WelcomeController.php
Normal file
23
app/Http/Controllers/WelcomeController.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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');
|
||||
|
|
||||
*/
|
||||
|
||||
public function index()
|
||||
{
|
||||
return view('welcome');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user