From 667fe744ad7b2c724535d0797026424636c45456 Mon Sep 17 00:00:00 2001 From: Morten Scheel Date: Wed, 10 Jun 2020 14:38:30 +0200 Subject: [PATCH] Fix paths on Windows Actions were not registered correctly on Windows machines. The `getClassnameFromPathname` method returned the absolute file path in stead of the class name, due to a mismatch of directory separators. --- src/ActionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ActionManager.php b/src/ActionManager.php index dcb1946..de7f35d 100644 --- a/src/ActionManager.php +++ b/src/ActionManager.php @@ -22,7 +22,7 @@ class ActionManager */ public function __construct() { - $this->paths('app/Actions'); + $this->paths('app'.DIRECTORY_SEPARATOR.'Actions'); $this->registeredActions = collect(); }