1
0
Fork 0
forked from OpenNeo/impress

cache item_zone_sets.json too

This commit is contained in:
Emi Matchu 2010-12-11 10:36:59 -05:00
parent f2bcde47ea
commit ba43d104db
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
class ItemZoneSetsController < ApplicationController class ItemZoneSetsController < ApplicationController
caches_page :index
def index def index
render :json => Zone::ItemZoneSets.keys.sort.as_json, :callback => params[:callback] render :json => Zone::ItemZoneSets.keys.sort.as_json
end end
end end

1
public/.gitignore vendored
View file

@ -1 +1,2 @@
/pet_attributes.json /pet_attributes.json
/item_zone_sets.json