2023-08-15 23:05:51 +02:00
|
|
|
<?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();
|
2023-08-19 03:50:33 +02:00
|
|
|
return view('back.start', [
|
|
|
|
'handle' => $member->handle,
|
|
|
|
'title' => "This is The Den"
|
|
|
|
]);
|
2023-08-15 23:05:51 +02:00
|
|
|
}
|
2023-08-16 22:03:06 +02:00
|
|
|
|
|
|
|
public function member(Request $request)
|
|
|
|
{
|
|
|
|
$member = Auth::user();
|
2023-08-19 03:50:33 +02:00
|
|
|
return view('back.member', [
|
|
|
|
'handle' => $member->handle,
|
|
|
|
'title' => "Manage Members"]);
|
2023-08-16 22:03:06 +02:00
|
|
|
}
|
2023-08-17 02:52:02 +02:00
|
|
|
|
|
|
|
public function location(Request $request, string $action = "index")
|
|
|
|
{
|
|
|
|
$member = Auth::user();
|
2023-08-19 03:50:33 +02:00
|
|
|
return view('back.locations', [
|
|
|
|
'handle' => $member->handle,
|
|
|
|
'title' => "Manage Locations",
|
|
|
|
"action" => $action]);
|
2023-08-17 02:52:02 +02:00
|
|
|
}
|
2023-08-15 23:05:51 +02:00
|
|
|
}
|