Skip to content

Commit 4e268e8

Browse files
committed
Wording.
1 parent f5b2aa4 commit 4e268e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Let's organize our view composers within a [service provider](/docs/5.0/provider
108108

109109
});
110110
}
111-
111+
112112
/**
113113
* Register
114114
*
@@ -123,7 +123,7 @@ Let's organize our view composers within a [service provider](/docs/5.0/provider
123123

124124
> **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.
125125
126-
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.
126+
Remember, you will need to add the service provider to the `providers` array in the `config/app.php` configuration file.
127127

128128
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:
129129

0 commit comments

Comments
 (0)