Skip to content

Commit

Permalink
Wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 26, 2015
1 parent f5b2aa4 commit 4e268e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Let's organize our view composers within a [service provider](/docs/5.0/provider

});
}

/**
* Register
*
Expand All @@ -123,7 +123,7 @@ Let's organize our view composers within a [service provider](/docs/5.0/provider

> **Note:** Laravel does not include a default directory for view composers. You are free to organize them however you wish. For example, you could create an `App\Http\ViewComposers` directory.
Remember to add the service provider in the `config/app.php` configuration file. This file contains a providers array where you can list the names of your service providers.
Remember, you will need to add the service provider to the `providers` array in the `config/app.php` configuration file.

Now that we have registered the composer, the `ProfileComposer@compose` method will be executed each time the `profile` view is being rendered. So, let's define the composer class:

Expand Down

0 comments on commit 4e268e8

Please sign in to comment.