69 lines
1.1 KiB
PHP
69 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Requests\StoreAlbumRequest;
|
|
use App\Http\Requests\UpdateAlbumRequest;
|
|
use App\Models\Album;
|
|
|
|
class AlbumController extends Controller
|
|
{
|
|
/**
|
|
* Display a listing of the resource.
|
|
*/
|
|
public function index()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Show the form for creating a new resource.
|
|
*/
|
|
public function create()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Store a newly created resource in storage.
|
|
*/
|
|
public function store(StoreAlbumRequest $request)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Display the specified resource.
|
|
*/
|
|
public function show(Album $album)
|
|
{
|
|
return view('album.show', [
|
|
'album' => $album,
|
|
]);
|
|
}
|
|
|
|
/**
|
|
* Show the form for editing he specified resource.
|
|
*/
|
|
public function edit(Album $album)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Update the specified resource in storage.
|
|
*/
|
|
public function update(UpdateAlbumRequest $request, Album $album)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Remove the specified resource from storage.
|
|
*/
|
|
public function destroy(Album $album)
|
|
{
|
|
//
|
|
}
|
|
}
|