issue#4 check params on the given route