Tập 10: IX. Truy cập route hiện tại (ok)
https://viblo.asia/p/tap-10-routing-laravel-Qpmlew4oKrd
IX. Truy cập route hiện tại
// Toàn bộ thông tin về route hiện tại
$route = Route::current();
// Tên route hiện tại
$name = Route::currentRouteName();
// Lấy controller action của route hiện tại
$action = Route::currentRouteAction();
// ...Last updated