Skip to content

Commit d55f4a8

Browse files
authored
Preview action_name on request tooltip (barryvdh#1728)
1 parent 410f0c3 commit d55f4a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DataCollector/RequestCollector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function getWidgets()
8787
];
8888
if ($this->request instanceof Request) {
8989
$widgets['currentrequest']['tooltip'] += [
90+
'action_name' => optional($this->request->route())->getName(),
9091
'controller_action' => optional($this->request->route())->getActionName(),
9192
];
9293
}

0 commit comments

Comments
 (0)