mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
adbf9d9f71
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
315 B
PHP
15 lines
315 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\Tests\FormRequestHandlerTest;
|
|
|
|
use SilverStripe\Control\HTTPResponse;
|
|
use SilverStripe\Forms\FormRequestHandler;
|
|
|
|
class TestFormRequestHandler extends FormRequestHandler
|
|
{
|
|
public function mySubmitOnFormHandler()
|
|
{
|
|
return new HTTPResponse('success', 200);
|
|
}
|
|
}
|