cineflex/app/Http/Controllers/UserDashController.php

29 lines
519 B
PHP
Raw Normal View History

2022-11-23 09:32:34 +01:00
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class UserDashController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
public function index()
{
return view('dash', ['title'=>"Dashboard", 'user'=>auth()->user()]);
2022-11-23 09:32:34 +01:00
}
}