diff options
Diffstat (limited to 'app/models/concerns/featurable.rb')
-rw-r--r-- | app/models/concerns/featurable.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/concerns/featurable.rb b/app/models/concerns/featurable.rb index 60aa46ce04c..20b72957ec2 100644 --- a/app/models/concerns/featurable.rb +++ b/app/models/concerns/featurable.rb @@ -37,7 +37,8 @@ module Featurable class_methods do def set_available_features(available_features = []) - @available_features = available_features + @available_features ||= [] + @available_features += available_features class_eval do available_features.each do |feature| |