Applied rubocop.
This commit is contained in:
parent
70d9de90bd
commit
326e007481
1 changed files with 3 additions and 4 deletions
|
@ -25,9 +25,8 @@ class UpdateSetting3 < ActiveRecord::Migration
|
|||
setting.save
|
||||
end
|
||||
setting = Setting.find_by(name: 'product_logo')
|
||||
if setting
|
||||
return if !setting
|
||||
setting.preferences[:prio] = 3
|
||||
setting.save
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue