Skip to content

Commit

Permalink
Update inflector.rst
Browse files Browse the repository at this point in the history
Fixed that dasherize does not convert plural/singular.
  • Loading branch information
ionas committed Jan 11, 2016
1 parent ff32d46 commit d6165ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/core-libraries/inflector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ table names or class names::
// UserProfileSetting
Inflector::classify('user_profile_settings');

// user-profile-settings
// user-profile-setting
Inflector::dasherize('UserProfileSetting');

// user_profile_settings
Expand Down

0 comments on commit d6165ac

Please sign in to comment.