Missed a line when migrating to Shrine

This commit is contained in:
Christoph Haas 2020-11-01 23:28:34 +01:00
parent 9667139531
commit b6bfef2ea3

View file

@ -54,7 +54,7 @@ class PackagesController < ApplicationController
params[:file].each do |img|
# Log.log "Uploaded img=#{img.path}"
new_screenshot = @package.screenshots.new(image: img)
new_screenshot = @package.screenshots.new(simage: img)
# BUG: ActiveStorage will accept the broken PNG during upload!