Browse Source

Merge pull request #1692 from adityamenon/master

The tiniest PR you've ever seen.
Taylor Otwell 12 years ago
parent
commit
e8834d764e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/database/eloquent.md

+ 1 - 1
laravel/documentation/database/eloquent.md

@@ -284,7 +284,7 @@ Or, as usual, you may retrieve the relationship through the dynamic roles proper
 
 	$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 {