Skip to content

Commit

Permalink
Preview action_name on request tooltip (#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
angeljqv authored Feb 13, 2025
1 parent 410f0c3 commit d55f4a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DataCollector/RequestCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function getWidgets()
];
if ($this->request instanceof Request) {
$widgets['currentrequest']['tooltip'] += [
'action_name' => optional($this->request->route())->getName(),
'controller_action' => optional($this->request->route())->getActionName(),
];
}
Expand Down

0 comments on commit d55f4a8

Please sign in to comment.