app/Http/Controllers/DishController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $categories = Category::all();
        return view('kitchen.dish_create', compact('categories'));
    }
public function create ( ) { $ categories = Category :: all ( ) ; return view ( 'kitchen.dish_create' , compact ( 'categories' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
// $dishes = Dish::with('category')->get();