Skip to content

Commit

Permalink
Str::studly()
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderlineWords authored Sep 17, 2019
1 parent 810d25b commit 7bb58d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function setPath($path)
*/
public function getModulePath($slug)
{
$module = studly_case($slug);
$module = Str::studly($slug);

if (\File::exists($this->getPath()."/{$module}/")) {
return $this->getPath()."/{$module}/";
Expand Down

0 comments on commit 7bb58d5

Please sign in to comment.