diff --git a/src/Panel/RequestPanel.php b/src/Panel/RequestPanel.php index 6c5f0890..d4b6ad36 100644 --- a/src/Panel/RequestPanel.php +++ b/src/Panel/RequestPanel.php @@ -49,6 +49,7 @@ public function shutdown(EventInterface $event): void } $this->_data = [ + 'params' => $request->getAttribute('params'), 'attributes' => $attributes, 'query' => Debugger::exportVarAsNodes($request->getQueryParams(), $maxDepth), 'data' => Debugger::exportVarAsNodes($request->getData(), $maxDepth), diff --git a/templates/element/request_panel.php b/templates/element/request_panel.php index 6f113d15..81a51d58 100644 --- a/templates/element/request_panel.php +++ b/templates/element/request_panel.php @@ -24,6 +24,7 @@ * @var \Cake\Error\Debug\NodeInterface $query * @var \Cake\Error\Debug\NodeInterface $cookie * @var string $matchedRoute + * @var array $params */ use Cake\Error\Debugger; @@ -41,6 +42,23 @@

+

Route path

+ +
+ +
+

+ [Plugin].[Prefix]/[Controller]::[action] +

+

Attributes