41 lines
676 B
PHP
41 lines
676 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Requests\StorelabelRequest;
|
|
use App\Http\Requests\UpdatelabelRequest;
|
|
use App\Models\Label;
|
|
|
|
class LabelController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
$labels = Label::all();
|
|
return view('admin.labels.index', compact('labels'));
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
}
|
|
|
|
public function store(StorelabelRequest $request)
|
|
{
|
|
}
|
|
|
|
public function show(Label $label)
|
|
{
|
|
}
|
|
|
|
public function edit(Label $label)
|
|
{
|
|
}
|
|
|
|
public function update(UpdatelabelRequest $request, Label $label)
|
|
{
|
|
}
|
|
|
|
public function destroy(Label $label)
|
|
{
|
|
}
|
|
}
|