Recognize routes with trailing slash