simple-php-router
simple-php-router copied to clipboard
Nested Resource routes
I want to create nested resource routes. But I get route not found error. Can you add this feature like laravel?
Router::resource('/tickets', TicketController::class)->name('support.tickets');
Router::resource('/tickets/{ticketID}/messages', TicketMessageController::class)->name('support.tickets.messages');
https://laravel.com/docs/10.x/controllers#restful-nested-resources
Thanks for the tip - we need this feature as well, i will look into it and report back :)