impress/app/controllers/swf_assets_controller.rb

12 lines
238 B
Ruby
Raw Normal View History

class SwfAssetsController < ApplicationController
2011-05-20 16:19:14 -07:00
def show
@swf_asset = SwfAsset.find params[:id]
render :json => @swf_asset
end
2015-05-03 14:57:42 -07:00
def links
@swf_assets = SwfAsset.from_wardrobe_link_params(params[:asset_ids])
end
end