corrected typo ::of_layout() to ::of_home() for clarity

This commit is contained in:
Dayle Rees 2011-11-02 14:19:38 +00:00
parent 2a5c94a61b
commit da4c196c3c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
| Now, you can create an instance of that view using the expressive View::of | Now, you can create an instance of that view using the expressive View::of
| dynamic method. Take a look at this example: | dynamic method. Take a look at this example:
| |
| return View::of_layout(); | return View::of_home();
| |
| View composers provide a convenient way to add common elements to a view | View composers provide a convenient way to add common elements to a view
| each time it is created. For example, you may wish to bind a header and | each time it is created. For example, you may wish to bind a header and