mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 09:11:25 +02:00
Regression introduced through https://github.com/silverstripe/silverstripe-framework/issues/6362. Quote from the RFC: ``` Thus the order of action precedence becomes action callback action on the Form action on the FormRequestHandler action on any parent controller (if given) ```
15 lines
266 B
PHP
15 lines
266 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\Tests\FormRequestHandlerTest;
|
|
|
|
use SilverStripe\Control\HTTPResponse;
|
|
use SilverStripe\Forms\Form;
|
|
|
|
class TestForm extends Form
|
|
{
|
|
public function mySubmitOnForm()
|
|
{
|
|
return new HTTPResponse('success', 200);
|
|
}
|
|
}
|