app/controllers/effective/assets_controller.rb in effective_assets-1.10.1 vs app/controllers/effective/assets_controller.rb in effective_assets-1.11.0
- old
+ new
@@ -19,10 +19,11 @@
@assets = @assets.nonimages
@file_types = [:pdf, :zip, :doc, :docx, :xls, :xlsx, :txt, :csv, :avi, :m4v, :m2v, :mov, :mp3, :mp4, :eml]
@aws_acl = EffectiveAssets.aws_acl
end
- @user_uploads = IframeUploads.new(@assets)
+ @user_uploads = IframeUpload.new(@assets)
+ @user_uploads.add_to_asset_box(:uploads, @assets)
render :file => 'effective/assets/iframe'
end
def destroy