added "generate" method to generate url with route id