Method: AttachableAssetsController#show

Defined in:
app/controllers/attachable_assets_controller.rb

#showObject



12
13
14
15
16
17
18
19
# File 'app/controllers/attachable_assets_controller.rb', line 12

def show
  @attachable_asset = AttachableAsset.find(params[:id])

  respond_to do |format|
    format.html { render :action => "show" }
    format.json { render :json => @attachable_asset.to_json }
  end
end