Minor rewording
This commit is contained in:
parent
3e6497d1c4
commit
dd6f5b73f1
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class PackagesController < ApplicationController
|
|||
errors = []
|
||||
@invalid_images.each do |image|
|
||||
# errors << "The image #{image.image_file_name} #{image.errors[:image].join(' and ')}."
|
||||
errors << "The image #{image.image_file_name} is not valid."
|
||||
errors << "That file #{image.image_file_name} is not valid."
|
||||
flash[:error] = errors.join(" ")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue