controller
public function get_service_providers($id) { if ($this->checkUser()) { $categories = Category::all(); $features = Features::all(); $service_provider = Service_providersRepository::get_service_providers($id); return view("backend.service_providers.edit_service_providers",
['service_provider' => $service_provider,"features"=>$features, "categories" => $categories->toArray()]); } else { return redirect("/admin/login"); } }
view
<div>
</div>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire