Skip to content

Commit

Permalink
Update structure.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 6, 2017
1 parent c788353 commit 0115cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structure.md
Expand Up @@ -71,7 +71,7 @@ The `resources` directory contains your views as well as your raw, un-compiled a
<a name="the-routes-directory"></a>
#### The Routes Directory

The `routes` directory contains all of the route definitions for your application. By default, three route files are included with Laravel: `web.php`, `api.php`, `console.php` and `channels.php`.
The `routes` directory contains all of the route definitions for your application. By default, several route files are included with Laravel: `web.php`, `api.php`, `console.php` and `channels.php`.

The `web.php` file contains routes that the `RouteServiceProvider` places in the `web` middleware group, which provides session state, CSRF protection, and cookie encryption. If your application does not offer a stateless, RESTful API, all of your routes will most likely be defined in the `web.php` file.

Expand Down

0 comments on commit 0115cb4

Please sign in to comment.