/** * Show the form for creating a new resource. * * @return Response */ public function create(Zona $zona, Plan $plan, Cocina $cocina) { // $zonas = $zona->get(); $planes = $plan->get(); $cocinas = $cocina->get(); return view('crear_restaurantes', compact('zonas', 'planes', 'cocinas')); }
/** * Display a listing of the resource. * * @return Response */ public function index(Cocina $cocina) { // return Response::json($cocina->get()); }