/** * 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(Zona $zona) { // return Response::json($zona->get()); }