Pass the previous route as a second parameter