Heimdall/app/Http/Controllers/HomeController.php

30 lines
514 B
PHP
Raw Normal View History

2018-10-14 16:27:28 +00:00
<?php
namespace App\Http\Controllers;
2022-11-14 12:21:47 +00:00
use Illuminate\Http\RedirectResponse;
2018-10-14 16:27:28 +00:00
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
2022-11-14 12:21:47 +00:00
parent::__construct();
2018-10-14 16:27:28 +00:00
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
2022-11-14 12:21:47 +00:00
* @return RedirectResponse
2018-10-14 16:27:28 +00:00
*/
2022-11-14 12:21:47 +00:00
public function index(): RedirectResponse
2018-10-14 16:27:28 +00:00
{
2018-10-15 12:02:16 +00:00
return redirect()->route('dash');
2018-10-14 16:27:28 +00:00
}
}