fix breaking change by adding function back w/ updated logic

`Route::currentRouteAction()` got removed, this PR adds the function back with logic to correctly return the same data to make the change non-breaking