Routing works correctly