mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge pull request #1111 from alex-dna/fix/controller-name
API Use controller_name static config
This commit is contained in:
commit
9d5b8c1b8e
@ -29,8 +29,8 @@ class UserDefinedForm extends Page
|
||||
*/
|
||||
private static $table_name = 'UserDefinedForm';
|
||||
|
||||
public function getControllerName()
|
||||
{
|
||||
return UserDefinedFormController::class;
|
||||
}
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private static $controller_name = UserDefinedFormController::class;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user