1
0
Fork 0
forked from OpenNeo/impress

cache swf asset JSON

This commit is contained in:
Emi Matchu 2010-06-08 18:35:54 -04:00
parent 6d2782d9db
commit a7ca99d7d8

View file

@ -1,4 +1,6 @@
class SwfAssetsController < ApplicationController class SwfAssetsController < ApplicationController
caches_page :index
def index def index
if params[:item_id] if params[:item_id]
@swf_assets = Item.find(params[:item_id]).swf_assets @swf_assets = Item.find(params[:item_id]).swf_assets