Page, add objects, you can activate several categories. The object itself needs to get to the table objects and object categories in the table objects_to_categories. I have solve it like this:
- add object
- get the object ID
- get an array of added categories
- add cycle all categories
Not very nice. So. How to solve this problem standard functionality of Laravel 5.2. I would really appreciate your help.