Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring the storage backend method signatures
Now everything just takes the image object and handles it's own logic. For the most part the calculated image is stored as image.hashed_filename(). This also fixes a bug where deleting images wouldn't actually delete anything because the save method was being passed "hash.extension" but the delete method was just being passed "hash". Now everything uses hashed_filename()
- Loading branch information
1 parent
bb027f7
commit f2cc879
Showing
2 changed files
with
30 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters