forked from OpenNeo/impress
cache swf asset JSON
This commit is contained in:
parent
6d2782d9db
commit
a7ca99d7d8
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class SwfAssetsController < ApplicationController
|
||||
caches_page :index
|
||||
|
||||
def index
|
||||
if params[:item_id]
|
||||
@swf_assets = Item.find(params[:item_id]).swf_assets
|
||||
|
|
Loading…
Reference in a new issue