(Very) minor typo fix.
This commit is contained in:
parent
23d23dd07c
commit
8e27840718
|
|
@ -284,7 +284,7 @@ ### Many-To-Many
|
|||
|
||||
$roles = User::find(1)->roles;
|
||||
|
||||
If your table names don't follow conventions, simply pass the table name in the second parameter to the **has\_and\_belongs\_to\_many** method:
|
||||
If your table names don't follow conventions, simply pass the table name in the second parameter to the **has\_many\_and\_belongs\_to** method:
|
||||
|
||||
class User extends Eloquent {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue