From 460a406bd516f9f3d7471ba91db671a51aa6bc0b Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 8 Sep 2010 20:07:09 -0400 Subject: [PATCH] add rarity index to json output for nc ui --- app/models/item.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/item.rb b/app/models/item.rb index cd135f94..1cc7ca80 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -61,7 +61,8 @@ class Item < ActiveRecord::Base :id => id, :name => name, :thumbnail_url => thumbnail_url, - :zones_restrict => zones_restrict + :zones_restrict => zones_restrict, + :rarity_index => rarity_index } end