Add route in generator
Relative path fix.