getLastSegment

Returns the last segment of the route path, if available.