Replace pattern with path on routing.yml template file