lib/garage/representer.rb in the_garage-2.4.4 vs lib/garage/representer.rb in the_garage-2.5.0
- old
+ new
@@ -49,10 +49,10 @@
def resource_class
self.class
end
- def to_resource
+ def to_resource(options = {})
self
end
def link_path_for(rel)
represent! unless representer_attrs