Skip to content

A free open source IT asset/license management system

Added a comment about why we use the middleware there

snipe83f21d0ddf68
diff --git a/routes/api.php b/routes/api.php
index e6f841531b..eec8920d63 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -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
+|
*/