Make reverse routing work with parameterized routes.
Pass parameter through view helper function.