Refactor route into 1 line