OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / models / system_picture.rb
index 144c152..8a3210d 100644 (file)
@@ -1,6 +1,7 @@
-class SystemPicture < Pettanr::Item
+class SystemPicture < Peta::Item
+  load_manifest
   has_many :balloons
-  has_many :balloon_templates
+  has_many :speech_balloon_templates
   has_many :licenses
   
   validates :ext, :presence => true, :length => {:maximum => 4}, :inclusion => {:in => ['png', 'jpeg', 'gif']}