tricks for full image section (renamed from full_left)

This commit is contained in:
2022-12-06 19:54:17 +02:00
parent eeb0cb13a0
commit e2431d276c
11 changed files with 72 additions and 32 deletions

View File

@ -54,7 +54,7 @@ module Merged
end
def self.load
if @@sections.length == 0
if @@sections.length == 0 or Rails.env.development?
all = YAML.load_file(Engine.root.join("config/styles.yaml"))
all["sections"].each do |content|
section = Style.new(content)