forked from OpenNeo/impress
cache item_zone_sets.json too
This commit is contained in:
parent
f2bcde47ea
commit
ba43d104db
2 changed files with 4 additions and 1 deletions
|
@ -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
1
public/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/pet_attributes.json
|
/pet_attributes.json
|
||||||
|
/item_zone_sets.json
|
||||||
|
|
Loading…
Reference in a new issue