Change route params from get to tree