Revert "Only make deeply nested routes shallow when parent is shallow"

This reverts commit d1ef6c2ed85b0c3c945b9c0f1385f6f3561849cc.
build fix, use lambda syntax that ruby 1.9.3 understands.

(cherry picked from commit b452e4a39b8a4a8880825cc1868df656ede7d609)