Level 75
You can add a regular route (non resource) if you want to.
1 like
Hello everybody, I'm creating a system of categories and subcategories ... On the main screen I will have the button that will redirect me to the create () function. To list all categories and subcategories I use a foreach. So far everything okay ...
I would like to implement an additional button that will appear next to the categories to allow me to create the subcategory having already the selected category.
I would just like to set up an additional create function ($ id) but I don't know how to do it because in the web.php I use the RESOURCE method.
Anyone have any idea how I can fix this?
You can add a regular route (non resource) if you want to.
Please or to participate in this conversation.