app/controllers/effective/assets_controller.rb in effective_assets-1.9.2 vs app/controllers/effective/assets_controller.rb in effective_assets-1.9.3

- old
+ new

@@ -12,12 +12,14 @@ @assets = Effective::Asset.where(id: effective_iframe_uploads) if params[:only] == 'images' @assets = @assets.images @file_types = [:jpg, :gif, :png, :bmp, :ico] + @aws_acl = EffectiveAssets::AWS_PUBLIC elsif params[:only] == 'nonimages' @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) render :file => 'effective/assets/iframe'