corrected example of passing values to a view from a route