Skip to content

Commit

Permalink
[bugfix release] fix using helpers without default Inflector
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Stanley Stuart committed Sep 15, 2015
1 parent d3970f2 commit cee130b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/lib/helpers/pluralize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { pluralize } from '../system/string';
import { pluralize } from 'ember-inflector';
import makeHelper from '../utils/make-helper';

/**
Expand Down
2 changes: 1 addition & 1 deletion addon/lib/helpers/singularize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { singularize } from '../system/string';
import { singularize } from 'ember-inflector';
import makeHelper from '../utils/make-helper';

/**
Expand Down

0 comments on commit cee130b

Please sign in to comment.