Skip to content

Commit 4ccbf1a

Browse files
committed
fixed relation name
1 parent dd5eb3c commit 4ccbf1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ourlearn/LaravelStarter/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function tableNameLower()
3939

4040
public function plural()
4141
{
42-
return str_plural($this->modelName);
42+
return str_plural(lcfirst($this->modelName));
4343
}
4444

4545
public function upperPlural()

0 commit comments

Comments
 (0)