-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
Hello
I searched everywhere but I didn't find any way to manage categories and subCategories.. Is there a convenient way to do that ?
In my application I have an admin panel, so I created an Admin\ForumController that extends your \Riari\Forum\Controllers\BaseController
I then created a "create" and "store" methods with a custom form to add a category, but when I try to do this, for exemple :
$category = [
'parent_category' => $parent_category,
'title' => Input::get('title'),
'subtitle' => Input::get('subtitle'),
];
$this->categories->create($category);I get a MassAssignmentException error..
($parent_category is "null")
What am I missing ?? ^^
Thanks by advance