Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit efbe2b5

Browse files
Bernat JufréBernat Jufré
authored andcommitted
gitignore modified & policy namespace / path
1 parent 645ec5f commit efbe2b5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
composer.lock
22
vendor/
3-
.idea

src/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ public function findModelPath($model)
671671
*/
672672
public function findPoliciesPath()
673673
{
674-
return $this->getSourceDirectoryName() . '/Domains/Policies';
674+
return $this->getSourceDirectoryName() . '/Policies';
675675
}
676676

677677
/**
@@ -725,7 +725,7 @@ public function findModelNamespace()
725725
*/
726726
public function findPolicyNamespace()
727727
{
728-
return $this->findDomainNamespace('Policies');
728+
return $this->findRootNamespace() . '\\Policies';
729729
}
730730

731731
/**

0 commit comments

Comments
 (0)