ForRo/app/Http/Controllers/DenController.php

29 lines
677 B
PHP
Raw Normal View History

<?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]);
}
}