Oops, delegate Item::Proxy#to_param to the item, or we get bad links.

This commit is contained in:
Emi Matchu 2013-06-27 10:47:02 -07:00
parent b92131b26c
commit 5e60795f31

View file

@ -5,7 +5,7 @@ class Item
attr_reader :id
attr_writer :item, :owned, :wanted
delegate :description, :name, :nc?, :thumbnail_url, to: :item
delegate :description, :name, :nc?, :thumbnail_url, :to_param, to: :item
def initialize(id)
@id = id