]> BookStack Code Mirror - bookstack/blobdiff - app/Api/ApiDocsController.php
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / app / Api / ApiDocsController.php
index 382ec15ebf4f5cfc55be8797f2ce3a8d16646fc0..d88dba3bc2f8100de18436548e16e0bf07831dd1 100644 (file)
@@ -31,6 +31,8 @@ class ApiDocsController extends ApiController
 
     /**
      * Redirect to the API docs page.
+     *  Required as a controller method, instead of the Route::redirect helper,
+     *  to ensure the URL is generated correctly.
      */
     public function redirect()
     {