Commit 7734303e authored by Jens Segers's avatar Jens Segers

Merge pull request #370 from mohitmamoria/patch-1

Fixed a typo
parents a126460a 4fe2c40e
...@@ -372,7 +372,7 @@ You may also use the create method to save a new model in a single line: ...@@ -372,7 +372,7 @@ You may also use the create method to save a new model in a single line:
**Updating a model** **Updating a model**
o update a model, you may retrieve it, change an attribute, and use the save method. To update a model, you may retrieve it, change an attribute, and use the save method.
$user = User::first(); $user = User::first();
$user->email = 'john@foo.com'; $user->email = 'john@foo.com';
......
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