From 172fc00155bd0b2a89c20526d5da309f186acf26 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 15 Aug 2016 19:55:13 +0200 Subject: [PATCH] Added controller to product_logo setting. --- db/migrate/20160815000001_update_setting_auth.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/migrate/20160815000001_update_setting_auth.rb b/db/migrate/20160815000001_update_setting_auth.rb index ba0dbe6b7..217442334 100644 --- a/db/migrate/20160815000001_update_setting_auth.rb +++ b/db/migrate/20160815000001_update_setting_auth.rb @@ -557,6 +557,9 @@ class UpdateSettingAuth < ActiveRecord::Migration state: {}, frontend: false ) + setting = Setting.find_by(name: 'product_logo') + setting.preferences[:controller] = 'SettingsAreaLogo' + setting.save end end