From 107f2a8dbea654b796846f3be9a148e91d1a6c20 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Thu, 18 Feb 2021 01:59:46 +0100 Subject: [PATCH] Cruft --- app/controllers/packages_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb index bc486b1..3d293c5 100644 --- a/app/controllers/packages_controller.rb +++ b/app/controllers/packages_controller.rb @@ -68,8 +68,6 @@ class PackagesController < ApplicationController # Log.log "Uploaded img=#{img.path}" new_screenshot = @package.screenshots.new(simage: img) - # BUG: ActiveStorage will accept the broken PNG during upload! - # Check if the image was valid if new_screenshot.valid? new_screenshot.uploaderhash = session.id.to_s