routes: support trailing slash in some url