Route::group(['prefix' => 'filament', 'as' => 'filament.'], function () { Route::get('admin/resources/registration-requests', [RegistrationRequestResource::class, 'index']) ->name('admin.resources.registration-requests.index'); Route::get('admin/resources/registration-requests/create', [RegistrationRequestResource::class, 'create']) ->name('admin.resources.registration-requests.create'); Route::get('admin/resources/registration-requests/{record}/edit', [RegistrationRequestResource::class, 'edit']) ->name('admin.resources.registration-requests.edit');});
public static function getPages(): array { Log::info('Registering RegistrationRequestResource'); return [ 'index' => Pages\ListRegistrationRequests::route('/'), 'create' => Pages\CreateRegistrationRequest::route('/create'), 'edit' => Pages\EditRegistrationRequest::route('/{record}/edit'), ]; }