store images in active_yaml too
This commit is contained in:
@ -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 )
|
||||
|
Reference in New Issue
Block a user