diff options
Diffstat (limited to 'app/models/clusters/concerns')
-rw-r--r-- | app/models/clusters/concerns/application_core.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/clusters/concerns/application_core.rb b/app/models/clusters/concerns/application_core.rb index 803a65726d3..d1b57a21a7d 100644 --- a/app/models/clusters/concerns/application_core.rb +++ b/app/models/clusters/concerns/application_core.rb @@ -32,6 +32,10 @@ module Clusters self.to_s.demodulize.underscore end + def self.association_name + :"application_#{application_name}" + end + def name self.class.application_name end |