Sha256: 2b1d4aa0d4bb7b8d5025d3a5d890fbb40c2c2e55d6679ed8a22ed84f45bfdc1c
Contents?: true
Size: 386 Bytes
Versions: 13
Compression:
Stored size: 386 Bytes
Contents
class Setting::ForemanTasks < Setting def self.load_defaults # Check the table exists return unless super self.transaction do [ self.set('dynflow_enable_console', N_("Enable the dynflow console (/foreman_tasks/dynflow) for debugging"), false), ].each { |s| self.create! s.update(:category => "Setting::ForemanTasks")} end true end end
Version data entries
13 entries across 13 versions & 1 rubygems