Commit 8e278407 authored by aditya's avatar aditya

(Very) minor typo fix.

parent 23d23dd0
...@@ -284,7 +284,7 @@ Or, as usual, you may retrieve the relationship through the dynamic roles proper ...@@ -284,7 +284,7 @@ Or, as usual, you may retrieve the relationship through the dynamic roles proper
$roles = User::find(1)->roles; $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 { class User extends Eloquent {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment