Upload page fixed for multi-uploads. Beautification.
This commit is contained in:
parent
4aa0ddcaeb
commit
0b5f158dd0
2 changed files with 28 additions and 25 deletions
|
|
@ -33,7 +33,7 @@ class PackagesController < ApplicationController
|
|||
|
||||
successful_upload_count = 0
|
||||
|
||||
params[:screenshot][:image].each do |img|
|
||||
params[:file].each do |img|
|
||||
new_screenshot = @package.screenshots.new(image: img)
|
||||
|
||||
# Check if the image was valid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue