diff --git a/addon/-private/system/normalize-model-name.js b/addon/-private/system/normalize-model-name.js index 4921ca79782..f885e5ddd61 100644 --- a/addon/-private/system/normalize-model-name.js +++ b/addon/-private/system/normalize-model-name.js @@ -1,12 +1,16 @@ import Ember from 'ember'; +// All modelNames are dasherized internally. Changing this function may +// require changes to other normalization hooks (such as typeForRoot). + /** - All modelNames are dasherized internally. Changing this function may - require changes to other normalization hooks (such as typeForRoot). + This method normalizes a modelName into the format Ember Data uses + internally. + @method normalizeModelName @public @param {String} modelName - @return {String} if the adapter can generate one, an ID + @return {String} normalizedModelName @for DS */ export default function normalizeModelName(modelName) {