OSDN Git Service

Item Dynamic ClassMethods
[pettanr/pettanr.git] / app / models / ground_picture.rb
index f356aa2..3fcc19a 100644 (file)
@@ -1,4 +1,5 @@
 class GroundPicture < Peta::Content
+  load_manifest
   include Peta::Element
   include ElementInspire
   belongs_to :panel
@@ -14,14 +15,6 @@ class GroundPicture < Peta::Content
   
   @@repeat_texts = ['repeat', 'repeat-x', 'repeat-y', 'no-repeat']
   
-  def self.owner_model
-    Panel
-  end
-  
-  def self.valid_encode_columns
-    super + ['caption']
-  end
-  
   def self.list_opt_for_panel
     {
       :ground_pictures => {