Cruft
This commit is contained in:
parent
1d364de8c8
commit
107f2a8dbe
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue