You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TheBadSpace/app/Http/Controllers/DenController.php

29 lines
677 B
PHP

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class DenController extends Controller
{
//
public function start(Request $request)
{
$member = Auth::user();
return view('back.start', ['handle' => $member->handle]);
}
public function member(Request $request)
{
$member = Auth::user();
return view('back.member', ['handle' => $member->handle]);
}
public function location(Request $request, string $action = "index")
{
$member = Auth::user();
return view('back.locations', ['handle' => $member->handle, "action" => $action]);
}
}