Skip to content

Commit

Permalink
Fix paths on Windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mortenscheel authored Jun 10, 2020
1 parent 26d86c4 commit 667fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ActionManager
*/
public function __construct()
{
$this->paths('app/Actions');
$this->paths('app'.DIRECTORY_SEPARATOR.'Actions');
$this->registeredActions = collect();
}

Expand Down

0 comments on commit 667fe74

Please sign in to comment.