Closed FLasH3r closed 3 years ago
@FLasH3r Hi!
Now you can specify the behaviour of this method. This is the example:
$router->fetchActions($mySite = new MySite(), [
'Index' => 'GET',
'Contacts' => 'POST',
'Faq' => ['GET', 'POST'],
]);
Hope it was helpfull )
Do you have any other feature requests?
That works for me, thanks :-)
Why does
fetchActions
creates the same route for GET & POST? Is there a way to disable this behavior?