Skip to content

Commit

Permalink
Merge pull request #90 from ATIX-AG/fix/role_permission_pluralize
Browse files Browse the repository at this point in the history
Add pluralize exception for class name ResourceQuota
  • Loading branch information
bastian-src authored Dec 6, 2024
2 parents 55b5768 + 46881e3 commit 43da54b
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 43da54b

Please sign in to comment.