Skip to content

Commit

Permalink
Do not assign modelName to the factory. Fixes error with ember-getown…
Browse files Browse the repository at this point in the history
…er-polyfill
  • Loading branch information
bmac committed Feb 25, 2017
1 parent fa9c059 commit 0ab7698
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion addon/-private/system/store.js
Expand Up @@ -2120,7 +2120,6 @@ Store = Service.extend({

this._modelClassCache[modelName] = factory;
}
factory.modelName = factory.modelName || normalizeModelName(modelName);

return factory;
},
Expand Down

0 comments on commit 0ab7698

Please sign in to comment.