Merge branch 'master' of git.workaround.org:chaas/debshots
This commit is contained in:
commit
396f3a7751
25 changed files with 395 additions and 257 deletions
|
|
@ -34,7 +34,10 @@ class PackagesController < ApplicationController
|
|||
@images = []
|
||||
|
||||
# Save the images already if they are valid.
|
||||
params[:screenshot][:image].each do |img|
|
||||
# params[:screenshot][:image].each do |img|
|
||||
successful_upload_count = 0
|
||||
|
||||
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