We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227a6f3 commit c77eb49Copy full SHA for c77eb49
composer.json
@@ -19,7 +19,7 @@
19
],
20
"require": {
21
"php": "^8.1",
22
- "hirethunk/verbs": "dev-main"
+ "hirethunk/verbs": "0.1.1"
23
},
24
"require-dev": {
25
"laravel/pint": "^1.13",
src/Concerns/Actions.php
@@ -21,7 +21,7 @@ public function availableActions(?iterable $context = null): ActionCollection
$pending_event = $action::makeWithContext($combined_context);
return PropertyCollection::fromClass($action)->hasRequiredParams($combined_context)
- && $pending_event->isAllowed()
+ && $pending_event->isAuthorized()
&& $pending_event->isValid();
26
});
27
}
0 commit comments