Applied rubocop.

This commit is contained in:
Martin Edenhofer 2015-07-14 19:12:47 +02:00
parent 70d9de90bd
commit 326e007481

View file

@ -25,9 +25,8 @@ class UpdateSetting3 < ActiveRecord::Migration
setting.save setting.save
end end
setting = Setting.find_by(name: 'product_logo') setting = Setting.find_by(name: 'product_logo')
if setting return if !setting
setting.preferences[:prio] = 3 setting.preferences[:prio] = 3
setting.save setting.save
end
end end
end end