Revert "fixed typo/bug in router#all"

This reverts commit d5ecff1ff5aae7dee0a10f3482b169f781fbf1a9.