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
end
setting = Setting.find_by(name: 'product_logo')
if setting
setting.preferences[:prio] = 3
setting.save
end
return if !setting
setting.preferences[:prio] = 3
setting.save
end
end