From ab793315e1e96a517dfa5386a8266490c2052b3a Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Fri, 22 Dec 2023 12:10:18 +0100 Subject: [PATCH] Enable the admin preview by default for new installations --- core/lib/generators/solidus/install/install_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/generators/solidus/install/install_generator.rb b/core/lib/generators/solidus/install/install_generator.rb index eec5230c5ec..937bd5c85b9 100644 --- a/core/lib/generators/solidus/install/install_generator.rb +++ b/core/lib/generators/solidus/install/install_generator.rb @@ -34,7 +34,7 @@ class InstallGenerator < Rails::Generators::AppBase class_option :seed, type: :boolean, default: true, banner: 'Load seed data (migrations must be run)' class_option :sample, type: :boolean, default: true, banner: 'Load sample data (migrations and seeds must be run)' class_option :active_storage, type: :boolean, default: true, banner: 'Install ActiveStorage as image attachments handler for products and taxons' - class_option :admin_preview, type: :boolean, default: false, desc: 'Install the admin preview' + class_option :admin_preview, type: :boolean, default: true, desc: 'Install the admin preview' class_option :auto_accept, type: :boolean class_option :user_class, type: :string class_option :admin_email, type: :string