Skip to content

Commit

Permalink
Add pluralize exception for class name ResourceQuota
Browse files Browse the repository at this point in the history
Fixes role permission name where the class name pluralize is called
to inflect permissions
  • Loading branch information
bastian-src committed Dec 6, 2024
1 parent 86fac82 commit 46881e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/inflections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

ActiveSupport::Inflector.inflections do |inflect|
inflect.irregular 'resource_quota', 'resource_quotas'
inflect.irregular 'ResourceQuota', 'ResourceQuotas'
inflect.irregular 'host_resources', 'hosts_resources'
inflect.irregular 'HostResources', 'HostsResources'
end

0 comments on commit 46881e3

Please sign in to comment.