Added a comment about why we use the middleware there
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2906a89442
commit
83f21d0ddf
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ use Illuminate\Http\Request;
|
|||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| is assigned the "api" middleware group. Enjoy building your API!
|
||||
|
|
||||
| We *could* put the middleware speficication in the RouteServiceProvider's mapApiRoutes()
|
||||
| method, but we felt it was clearer to keep it here, since we look at the api routes for more
|
||||
| often than we look at the RouteServiceProvider. - @snipe
|
||||
|
|
||||
*/
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue