OSDN Git Service

fix editor
[pettanr/pettanr.git] / app / models / speech_balloon_template.rb
index 3e8b44f..add0493 100644 (file)
@@ -1,5 +1,5 @@
 #フキダシテンプレート
-class SpeechBalloonTemplate < Peta::SystemResource
+class SpeechBalloonTemplate < Peta::Template
   load_manifest
   has_many :speech_balloons
   belongs_to :system_picture
@@ -22,22 +22,10 @@ class SpeechBalloonTemplate < Peta::SystemResource
     self.system_picture.tmb_opt_img_tag
   end
   
-  def self.list_opt
-    {}
-  end
-  
-  def self.list_json_opt
-    {}
-  end
-  
   def self.show_opt
     {}
   end
   
-  def self.show_json_opt
-    {}
-  end
-  
   def parsed_settings
     @parsed_settings ||= JSON.parse(self.settings)
   end