store images in active_yaml too

This commit is contained in:
2022-12-17 12:15:26 +02:00
parent 6dbddce173
commit 50137f9e04
4 changed files with 333 additions and 28 deletions

View File

@ -5,11 +5,8 @@ module Merged
def self.load_data
# pre-load data
OptionDefinition.all
CardStyle.all
SectionStyle.all
Page.all
Image.load_images
[OptionDefinition, CardStyle, SectionStyle , PageStyle,
Card , Section , Page , Image].each {|clazz| clazz.all }
end
def self.load_from( kind , path )