You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
68 lines
1.1 KiB
68 lines
1.1 KiB
<?php |
|
|
|
namespace App\Http\Controllers; |
|
|
|
use App\Models\Photo; |
|
use Illuminate\Http\Request; |
|
use Inertia\Inertia; |
|
|
|
class PhotoController extends Controller |
|
{ |
|
/** |
|
* Display a listing of the resource. |
|
*/ |
|
public function index() |
|
{ |
|
return Inertia::render('Photo/Index', [ |
|
"photos" => Photo::all() |
|
]); |
|
} |
|
|
|
/** |
|
* Show the form for creating a new resource. |
|
*/ |
|
public function create() |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Store a newly created resource in storage. |
|
*/ |
|
public function store(Request $request) |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Display the specified resource. |
|
*/ |
|
public function show(string $id) |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Show the form for editing the specified resource. |
|
*/ |
|
public function edit(string $id) |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Update the specified resource in storage. |
|
*/ |
|
public function update(Request $request, string $id) |
|
{ |
|
// |
|
} |
|
|
|
/** |
|
* Remove the specified resource from storage. |
|
*/ |
|
public function destroy(string $id) |
|
{ |
|
// |
|
} |
|
}
|
|
|