From 8e2784071890cb9e6bdeb1b985225962b76c2edc Mon Sep 17 00:00:00 2001 From: aditya Date: Fri, 8 Feb 2013 05:12:06 +0530 Subject: [PATCH] (Very) minor typo fix. --- laravel/documentation/database/eloquent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/database/eloquent.md b/laravel/documentation/database/eloquent.md index 81a9973f..fa4916cb 100644 --- a/laravel/documentation/database/eloquent.md +++ b/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 {