1
0
forked from poc/pds

Add getRedirectUrl method to resource creation classes for consistent redirection

This commit is contained in:
dhanabalan
2025-08-26 15:44:51 +05:30
parent 86e458037f
commit d419973ab5
25 changed files with 133 additions and 3 deletions

View File

@@ -14,4 +14,9 @@ class CreateTempLiveReading extends CreateRecord
{
return 'Create Live Readings';
}
protected function getRedirectUrl(): string
{
return $this->getResource()::getUrl('create');
}
}