Refactor menu codes to remove 'onticket' prefix
- Updated route middleware and menu codes across various files to replace 'onticket.adminapp' with 'adminapp'. - Adjusted API routes for Ticketing, FiestaFutbolInfantil, and Desfile to reflect the new menu structure. - Modified database migrations to remove the 'onticket' prefix from existing menu codes. - Updated tests to align with the new menu code structure, ensuring compatibility and correctness.
This commit is contained in:
@@ -135,7 +135,7 @@ class AdminAppDesfileEntryReservationFormControllerTest extends TestCase
|
||||
private function grantReservationsMenu(Tenant $tenant): void
|
||||
{
|
||||
$menu = Menu::query()->create([
|
||||
'code' => 'onticket.adminapp.desfile.reservas',
|
||||
'code' => 'adminapp.desfile.reservas',
|
||||
'label' => 'Reserva de Tickets',
|
||||
'route' => '/admin/desfile/reservas',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user