Remove redundant syntax from routes