Add getRedirectUrl method to resource creation classes for consistent redirection
This commit is contained in:
@@ -14,4 +14,9 @@ class CreateTempLiveReading extends CreateRecord
|
||||
{
|
||||
return 'Create Live Readings';
|
||||
}
|
||||
|
||||
protected function getRedirectUrl(): string
|
||||
{
|
||||
return $this->getResource()::getUrl('create');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user