|
|
@@ -42,15 +42,19 @@ Add a matching route to <?= 'config' . DIRECTORY_SEPARATOR . 'routes.php' ?></p>
|
|
|
</div>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
-<h3>Connected Routes</h3>
|
|
|
-<table cellspacing="0" cellpadding="0" width="100%">
|
|
|
-<tr><th>Template</th><th>Defaults</th><th>Options</th></tr>
|
|
|
-<?php foreach (Router::routes() as $route): ?>
|
|
|
- <tr>
|
|
|
- <td><?= h($route->template) ?></td>
|
|
|
- <td><div class="cake-debug" data-open-all="true"><?= Debugger::exportVar($route->defaults) ?></div></td>
|
|
|
- <td><div class="cake-debug" data-open-all="true"><?= Debugger::exportVar($route->options) ?></div></td>
|
|
|
- </tr>
|
|
|
-<?php endforeach; ?>
|
|
|
-</table>
|
|
|
+<details>
|
|
|
+ <summary style="font-size: 1.25rem; cursor: pointer">Connected Routes</summary>
|
|
|
+ <div>
|
|
|
+ <table cellspacing="0" cellpadding="0" width="100%">
|
|
|
+ <tr><th>Template</th><th>Defaults</th><th>Options</th></tr>
|
|
|
+ <?php foreach (Router::routes() as $route): ?>
|
|
|
+ <tr>
|
|
|
+ <td><?= h($route->template) ?></td>
|
|
|
+ <td><div class="cake-debug" data-open-all="true"><?= Debugger::exportVar($route->defaults) ?></div></td>
|
|
|
+ <td><div class="cake-debug" data-open-all="true"><?= Debugger::exportVar($route->options) ?></div></td>
|
|
|
+ </tr>
|
|
|
+ <?php endforeach; ?>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+</details>
|
|
|
<?php $this->end() ?>
|