Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function initialize(/* application */) {
Inflector.inflector.uncountable('github-stats');
}
export function initialize() {
// So the Api model doesn't try to singularize the subSettings hasMany
// relationship (which leads to it trying to find the non-existent
// "api/sub-setting" model).
Inflector.inflector.irregular('sub-settings', 'sub-settings');
}
import Inflector from 'ember-inflector';
const inflector = Inflector.inflector;
inflector.irregular('configuration', 'Configurations');
inflector.irregular('association', 'Associations');
inflector.irregular('aggregation', 'Aggregations');
inflector.irregular('inheritance', 'Inheritances');
inflector.irregular('generation', 'Generations');
inflector.irregular('definition', 'Definitions');
inflector.irregular('repository', 'Repositorys');
inflector.irregular('subsystem', 'Subsystems');
inflector.irregular('attribute', 'Attributes');
inflector.irregular('following', 'Followings');
inflector.irregular('parameter', 'Parameters');
inflector.irregular('filelink', 'Filelinks');
inflector.irregular('property', 'Propertys');
inflector.irregular('profile', 'Profiles');
inflector.irregular('setting', 'Settings');
export function initialize() {
Inflector.inflector.irregular('vocabulary', 'vocabularies');
Inflector.inflector.uncountable('aamc-pcrs');
}
export function initialize() {
Inflector.inflector.uncountable('anime');
Inflector.inflector.uncountable('manga');
}
pathForType: function(type) {
const underscored = Ember.String.underscore(type);
return Inflector.inflector.pluralize(underscored);
}
});
export function initialize() {
Inflector.inflector.uncountable('anime');
Inflector.inflector.uncountable('manga');
}
pathForType: function(type) {
const underscored = Ember.String.underscore(type);
return Inflector.inflector.pluralize(underscored);
}
});
initialize: function () {
const inflector = Inflector.inflector;
inflector.uncountable('permissions');
inflector.irregular('cache', 'caches');
}
};
export function initialize() {
Inflector.inflector.irregular('vocabulary', 'vocabularies');
Inflector.inflector.uncountable('aamc-pcrs');
}