OSDN Git Service

temp
[pettanr/pettanr.git] / app / models / author.rb
index 487cb67..63940e0 100644 (file)
@@ -31,19 +31,19 @@ class Author < Pettanr::Owner
   end
   
   def self.list_opt
-    {:artist => {} }
+    {:user => {:artist => {}} }
   end
   
   def self.list_json_opt
-    {:include => {:artist => {}} }
+    {:include => {:user => {:artist => {}}} }
   end
   
   def self.show_opt
-    {:include => {:artist => {}} }
+    {:include => {:user => {:artist => {}}} }
   end
   
   def self.show_json_opt
-    {:include => {:artist => {}} }
+    {:include => {:user => {:artist => {}}} }
   end
   
   def self.default_scroll_page_size