strongloop/loopback-explorer — pull request #36 by nvdnkpr (2014-08-10 06:51:05+00:00)
Title: Fixed undefined modelClass when using polymorphic relations

When using polymorphic relations the through model has no relation to another model, hence the modelTo variable might be undefined or null.