This commit is contained in:
Sam 2017-05-03 11:44:15 -04:00
parent 342ef5f81a
commit dbb6e461aa
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ if !Theme.exists?
STDERR.puts "> Seeding dark and light themes"
name = I18n.t("wizard.step.colors.fields.theme_id.choices.dark.label")
dark_scheme = ColorScheme.where.find_by(base_scheme_id: "dark")
dark_scheme = ColorScheme.find_by(base_scheme_id: "dark")
dark_scheme ||= ColorScheme.create_from_base(name: name, via_wizard: true, base_scheme_id: "dark")
name = I18n.t('color_schemes.dark_theme_name')