forked from eatvio/eatvio-infra
66 lines
1.6 KiB
PHP
66 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Models\ProductNutritionalValue;
|
|
use Illuminate\Http\Request;
|
|
|
|
class ProductNutritionalValueController extends Controller
|
|
{
|
|
/**
|
|
* Display a listing of the resource.
|
|
*
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function index()
|
|
{
|
|
return view('product_nutritional/index');
|
|
}
|
|
|
|
/**
|
|
* Show the form for creating a new resource.
|
|
*
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function create()
|
|
{
|
|
return view('product_nutritional/create');
|
|
}
|
|
|
|
/**
|
|
* Display the specified resource.
|
|
*
|
|
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function show(ProductNutritionalValue $productNutritionalValue)
|
|
{
|
|
return view(
|
|
'product_nutritional/show',
|
|
['productNutritionalValue' => $productNutritionalValue]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* Show the form for editing the specified resource.
|
|
*
|
|
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function edit(ProductNutritionalValue $productNutritionalValue)
|
|
{
|
|
return view('product_nutritional/edit', ['productNutritionalValue' => $productNutritionalValue]);
|
|
}
|
|
|
|
/**
|
|
* Remove the specified resource from storage.
|
|
*
|
|
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function destroy(ProductNutritionalValue $productNutritionalValue)
|
|
{
|
|
//
|
|
}
|
|
}
|