-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
there is a bug in creating a post, here is the fix :
modify the create method in app/Http/Controllers/PostController.php like this :
public function create()
{
$categories = Category::all(); // Récupère toutes les catégories
return view('back.posts.create', compact('categories'));
}
this fixes the bug,
hope this help,
Domi.
Metadata
Metadata
Assignees
Labels
No labels