OSDN Git Service

rename model name
[pettanr/pettanr.git] / lib / locmare / profiler / association / has_one.rb
index 326c1ec..5fb4b99 100644 (file)
@@ -17,7 +17,12 @@ module Locmare
         end
         
         def filer
-          list_result = @has_one_manifest.list.open(self.profiler.operators, {:id => self.item.id})
+          list = ::Locmare::ListGroup.list(
+            @has_one_manifest.controller_name, 
+            @has_one_manifest.action_name, 
+            {:id => self.item.id}
+          )
+          list_result = list.open(self.profiler.operators)
           items = list_result.items 
           ::Locmare::Filer.new self.has_one_model.item_name, items, nil, :none, self.profiler.operators
         end