Moved root paths case before split() so it's not testing against an array #3

merged 1 commit into from Jan 25, 2012


None yet

2 participants


urlNameHelper('', '') should return 'root' but instead returns '' since the split('/') command returns an array that is then tested against '' and '/'; moving the root test before the split fixes the issue.

@1602 1602 merged commit c62ed55 into 1602:master Jan 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment