Fix route rename descendants if route.name is blank

What does this MR do?

Fix route rename descendants if route.name is blank

Are there points in the code the reviewer needs to double check?

no

Why was this MR needed?

Too prevent 500 error when one of nested routes has empty name (which is ok)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/2772

Merge request reports

Loading