From f3cc5cdabb9ad49b7f6bbf6bbb4caaf5cdd0f040 Mon Sep 17 00:00:00 2001 From: krajcikondra Date: Sat, 12 Jan 2019 02:53:39 +1300 Subject: [PATCH] Update README.MD --- README.MD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.MD b/README.MD index a8eb2b7..fe9eef8 100644 --- a/README.MD +++ b/README.MD @@ -96,15 +96,15 @@ final class TestPresenterActions extends \Helbrary\NetteTesterExtension\BaseMult $actions = [ 'Core:Customers' => [ 'actions' => [ - 'default' => [ - 'parameters' => [], // optional - default is empty array + [ + 'parameters' => ['action' => 'default'], // optional - default is empty array 'method' => 'GET', // optional - default is GET 'userId' => NULL, // optional - default is NULL 'userRole' => NULL, // optional - default is NULL 'identityData' => NULL, // optional - default is NULL ], - 'detail' => [ - 'parameters' => ['id' => 1], + [ + 'parameters' => ['id' => 1, 'action' => 'default'], ], ]