Removed trailing slash when the route path is empty