app/controllers/effective/assets_controller.rb in effective_assets-1.1.2 vs app/controllers/effective/assets_controller.rb in effective_assets-1.2.0

- old
+ new

@@ -14,10 +14,10 @@ @assets = @assets.images @file_types = [:jpg, :gif, :png, :bmp, :ico] @aws_acl = 'public-read' # The CKEditor Insert Image functionality needs a public-read image here elsif params[:only] == 'nonimages' @assets = @assets.nonimages - @file_types = [:pdf, :zip, :doc, :docx, :xls, :xlsx, :txt, :avi, :m4v, :m2v, :mov, :mp3, :mp4] + @file_types = [:pdf, :zip, :doc, :docx, :xls, :xlsx, :txt, :csv, :avi, :m4v, :m2v, :mov, :mp3, :mp4, :eml] end @user_uploads = UserUploads.new(@assets) render :file => 'effective/assets/iframe'