pixelfed/app/Http/Controllers/HomeController.php

29 lines
469 B
PHP
Raw Normal View History

2018-04-16 00:00:49 +00:00
<?php
namespace App\Http\Controllers;
2018-11-05 00:15:59 +00:00
use Illuminate\Http\Request;
2018-04-16 00:00:49 +00:00
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
2018-11-05 00:15:59 +00:00
public function index(Request $request)
2018-04-16 00:00:49 +00:00
{
2019-04-25 06:43:08 +00:00
return redirect('/');
2018-04-16 00:00:49 +00:00
}
}