Project

General

Profile

« Previous | Next » 

Revision f4459c11

Added by David Davis about 8 years ago

Refs #3809 - Turning on some rubocop cops

View differences:

app/models/concerns/host_params.rb
options = {:value => param.value,
:source => source,
:safe_value => param.safe_value }
if source != 'global'
if source != 'global'
options.merge!(:source_name => param.associated_label)
end
hp.update(Hash[param.name => include_source ? options : param.value])

Also available in: Unified diff