Fixing route names when registered model has namespaces