Working on default app structure. Login views.
This commit is contained in:
25
app/Http/Controllers/DashboardController.php
Normal file
25
app/Http/Controllers/DashboardController.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
class DashboardController extends Controller {
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application dashboard to the user.
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('dashboard');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user