Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid asking the cloud if an image exists
#4392 Amazon's DNS is failing at the moment and some users can't access the admin panel because of this error. While `exists?` asks the storage server if the file is actually there, `file?` just checks if we have the file name stored in the database and the file should be there. It's much faster and less error prone.
- Loading branch information