Missed a line when migrating to Shrine
This commit is contained in:
parent
9667139531
commit
b6bfef2ea3
1 changed files with 1 additions and 1 deletions
|
|
@ -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!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue