Remove blank error message upon successful uploads
This commit is contained in:
parent
0571617ea7
commit
d78362e45f
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class PackagesController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
if all_errors
|
||||
if all_errors.any?
|
||||
flash[:error] = all_errors
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue