Skip to content

Commit cee130b

Browse files
author
Stanley Stuart
committed
[bugfix release] fix using helpers without default Inflector
The singularize and pluralize helpers previously imported the helpers previously without a default Ember Inflector instance, which would cause issues for Ember CLI users. refs emberjsGH-74
1 parent d3970f2 commit cee130b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addon/lib/helpers/pluralize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { pluralize } from '../system/string';
1+
import { pluralize } from 'ember-inflector';
22
import makeHelper from '../utils/make-helper';
33

44
/**

addon/lib/helpers/singularize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { singularize } from '../system/string';
1+
import { singularize } from 'ember-inflector';
22
import makeHelper from '../utils/make-helper';
33

44
/**

0 commit comments

Comments
 (0)