packages/ilios-common/addon/initializers/custom-inflector-rules.js
import Inflector from 'ember-inflector';
import { irregular } from '@ember-data/request-utils/string';
export function initialize() {
irregular('pcrs', 'pcrses');
irregular('vocabulary', 'vocabularies');
Inflector.inflector.irregular('pcrs', 'pcrses');
Inflector.inflector.irregular('vocabulary', 'vocabularies');
}
export default {
initialize,
};