temp
This commit is contained in:
15
app/Http/Controllers/IndexController.php
Normal file
15
app/Http/Controllers/IndexController.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
class IndexController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return inertia('Welcome')
|
||||
->with('canLogin', Route::has('login'))
|
||||
->with('canRegister', Route::has('register'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user