@extends('admin.master.master') @section('content')

Categorias

@foreach($categories as $category) @foreach($category->subcategory()->get() as $subcategory) @endforeach
{{ $category->title }}
@csrf @method('DELETE') Editar
{{ $subcategory->title }}
@csrf @method('DELETE') Editar
@endforeach
@endsection