Laravel mendapatkan nama rute saat ini
Route::currentRouteName()
Beautiful Bird
Route::currentRouteName()
request()->route()->getName()
Route::getCurrentRoute()->getActionName();
// Check if route is ***
Request::route()->named("YourRouteNameView")