OSDN Git Service

temp
[pettanr/pettanr.git] / app / models / artist.rb
index 72fb2b1..955c8ff 100644 (file)
@@ -28,19 +28,19 @@ class Artist < Pettanr::Owner
   end
   
   def self.list_opt
-    {:author => {} }
+    {:user => {:author => {}} }
   end
   
   def self.list_json_opt
-    {:include => {:author => {}} }
+    {:include => {:user => {:author => {}}} }
   end
   
   def self.show_opt
-    {:include => {:author => {}} }
+    {:include => {:user => {:author => {}}} }
   end
   
   def self.show_json_opt
-    {:include => {:author => {}} }
+    {:include => {:user => {:author => {}}} }
   end
   
   def self.export(dt = nil)