lib/faceted/presenter.rb in faceted-0.4.8 vs lib/faceted/presenter.rb in faceted-0.4.9

- old
+ new

@@ -24,10 +24,10 @@ define_method :"#{bare_name}" do klass.new(:id => self.send(field)) end else klass = eval "::#{presented_class}" - define_method :"#{presented_class}" do + define_method :"#{presented_class.downcase}" do klass.new(:id => self.id) end end end